demarches-normaliennes/spec/support/warden.rb
Pierre de La Morinerie f9401cfbad spec: better split spec_helper and rails_helper
This fixes the

> DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper.

error appearing when running specs.

It also gets us closer from a newly-generated rails config.
2021-03-04 22:59:39 +01:00

7 lines
116 B
Ruby

include Warden::Test::Helpers
RSpec.configure do |config|
config.before(:all) do
Warden.test_mode!
end
end