Created
October 27, 2009 16:40
-
-
Save ajsharp/219709 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# at the top of any controller example, you need to add in the stub_request_before_filters | |
# method, which will take care of everything that ApplicationController requires before | |
# passing the request on to the actual requested Controller#action. | |
# | |
# The stub_request_before_filters method is defined in lib/optimis_test_helpers.rb | |
# and is included in spec/spec_helper.rb | |
describe PatientsController do | |
before(:each) do | |
stub_request_before_filters | |
end | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment