specs: use Instructeur.bypass_email_login_token in the tests

This commit is contained in:
Pierre de La Morinerie 2021-11-25 15:38:01 +01:00
parent ac07f05771
commit 8b3d31980a
3 changed files with 3 additions and 5 deletions

View file

@ -89,10 +89,6 @@ RSpec.configure do |config|
Geocoder.configure(lookup: :test)
end
config.before(:each) do
Flipper.enable(:instructeur_bypass_email_login_token)
end
# By default, forgery protection is disabled in the test environment.
# (See `config.action_controller.allow_forgery_protection` in `config/test.rb`)
#