specs: use Instructeur.bypass_email_login_token in the tests
This commit is contained in:
parent
ac07f05771
commit
8b3d31980a
3 changed files with 3 additions and 5 deletions
|
@ -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`)
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue