Topic: How to test before_filter?
I've added "before_filter :require_login" to my application controller. How can I test that "require_login" method is executed for all/specific actions in a particular controller?
I've already figured out that I can get all actions of the controller using "@controller.public_instance_methods(false)", but I don't know how to verify that the "require_login" method is executed before the proper action.
Thank you in advance