fix(spec): remove strange click
This commit is contained in:
parent
4babee2591
commit
f532eee9f6
1 changed files with 0 additions and 3 deletions
|
@ -23,7 +23,6 @@ describe 'Administrateurs can manage administrateurs', js: true do
|
|||
scenario 'the administrator can add another administrator' do
|
||||
another_administrateur = create(:administrateur)
|
||||
visit admin_procedure_administrateurs_path(procedure)
|
||||
find('#administrateurs').click
|
||||
|
||||
fill_in('administrateur_email', with: another_administrateur.email)
|
||||
|
||||
|
@ -41,8 +40,6 @@ describe 'Administrateurs can manage administrateurs', js: true do
|
|||
administrateur.administrateurs_procedures.update_all(manager: true)
|
||||
visit admin_procedure_administrateurs_path(procedure)
|
||||
|
||||
find('#administrateurs').click
|
||||
|
||||
expect(page).to have_css("#administrateur_email[disabled=\"disabled\"]")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue