Update instructeur factory
This commit is contained in:
parent
47b7dc368b
commit
65a53909e1
8 changed files with 33 additions and 13 deletions
|
@ -13,9 +13,7 @@ feature 'The instructeur part' do
|
|||
Flipflop::FeatureSet.current.test!.switch!(:enable_email_login_token, true)
|
||||
end
|
||||
|
||||
context 'when the instructeur is also a user' do
|
||||
let!(:user) { create(:user, email: instructeur.email, password: password) }
|
||||
|
||||
context 'the instructeur is also a user' do
|
||||
scenario 'a instructeur can fill a dossier' do
|
||||
visit commencer_path(path: procedure.path)
|
||||
click_on 'J’ai déjà un compte'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue