2009/5/19 Florent Florent <[email protected]>

>
>
> 2009/5/19 Tero Tilus <[email protected]>
>
>>  Moreover the "should
>> set @context" is imo a spec smell (even though it's in description
>> string), because it refers to internal state of a PagesController
>> instance, which you should not be interested in, but the external
>> behavior.
>
>
> Do you mean I should change the wording as something "should set the
> context", in order no to refer to a internal behaviour?
>

Well, I've just moved this filter to my application controller and now in my
PageController spec I just specify the call to the filter.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to