On Sun, Apr 19, 2009 at 2:09 PM, Michael Schuerig <[email protected]> wrote:
> On Sunday 19 April 2009, Zach Dennis wrote:
>> On Sun, Apr 19, 2009 at 12:27 PM, Michael Schuerig
> <[email protected]> wrote:
>> > 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?
>>
>> How are you setting the said scope?
>
> In an around filter. However, I don't want to test the around filter
> mechanism, it might as well be rack middleware instead.

Sorry, I don't know what scope means to you in your app. Can you share
your around_filter?
>
> Michael
>
> --
> Michael Schuerig
> mailto:[email protected]
> http://www.schuerig.de/michael/
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>



-- 
Zach Dennis
http://www.continuousthinking.com
http://www.mutuallyhuman.com
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to