[rspec-users] Controller spec: testing that scope is set

Michael Schuerig michael at schuerig.de
Sun Apr 19 12:27:03 EDT 2009

In a Rails controller I set the scope on a model class in an around 
filter. I have defined expectations on the model classes, and ideally, I 
would add a further expectation for the scope. Is this already possible 
in some way? How would I go about adding support a scope expectation?


Michael Schuerig
mailto:michael at schuerig.de

More information about the rspec-users mailing list