Created
November 17, 2014 04:17
-
-
Save osiro/d53485e1c8654d7f676b to your computer and use it in GitHub Desktop.
This file contains 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
RSpec.configure do |config| | |
config.before(:suite) do | |
Warden.test_mode! | |
end | |
config.after(:each) do |example| | |
Warden.test_reset! | |
end | |
config.include Warden::Test::Helpers | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment