There is a before_filter in our rails 3.1 app check the session time out. The problem is that session is not recognized in rspec integration test and caused error in rspec. Is there way we can bypass the before_filter in application_controller? controller.should_receive(:my_filter) does not work here.
Share
You can do this test in your before filter: