Marnen Laibow-Koser-2 wrote: > > > I do not know about any design decisions but I do agree with Cojones to > move test_authorize_works_when_user_logged_in into the User or > AccessControl test. > > I don't mean to be pedantic when asking this, only want to have a better understanding of the situation. But why do you feel that way? The functionality belongs in the ApplicationController so surely it follows that any tests on that functionality should be in the ApplicationControllerTest. -- View this message in context: http://old.nabble.com/Finding-it-difficult-to-test-a-before_filter-on-my-ApplicationController-tp28253771p28254388.html Sent from the RubyOnRails Users mailing list archive at Nabble.com.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

