Enable email_login_token for all gestionnaires

This commit is contained in:
Paul Chavard 2019-07-31 15:04:49 +02:00
parent 2af37f85e2
commit 0969b1f85f
8 changed files with 36 additions and 58 deletions

View file

@ -9,10 +9,6 @@ feature 'The instructeur part' do
let!(:procedure) { create(:procedure, :published, instructeurs: [instructeur]) }
let!(:dossier) { create(:dossier, state: Dossier.states.fetch(:en_construction), procedure: procedure) }
before do
Flipflop::FeatureSet.current.test!.switch!(:enable_email_login_token, true)
end
context 'the instructeur is also a user' do
scenario 'a instructeur can fill a dossier' do
visit commencer_path(path: procedure.path)