[rspec-users] [RSpec, Rails] POST create action spec and before_filter

Tero Tilus tero at tilus.net
Tue May 19 15:11:35 EDT 2009

2009-05-19 10:22, Florent Florent:
> BTW how can I spec that my @context is correctly set by my filter?

How can you tell from _outside_ if the context is properly set or not?
What does your controller use the context for?  And what happens if
the controller does or doesn't know about the context?

Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/

More information about the rspec-users mailing list