Activate device email change confirmation

This commit is contained in:
simon lehericey 2019-07-04 16:49:33 +02:00 committed by Pierre de La Morinerie
parent d68d2be798
commit 0f9fdf3f75
5 changed files with 10 additions and 1 deletions

View file

@ -6,6 +6,7 @@ feature 'Administrator connection' do
let(:email) { 'admin1@admin.com' }
let(:password) { 'mon chien aime les bananes' }
let!(:admin) { create(:administrateur, :with_procedure, email: email, password: password) }
let!(:user) { create(:user, email: email, password: password) }
before do
Flipflop::FeatureSet.current.test!.switch!(:enable_email_login_token, true)