Fix admin connexion spec

This commit is contained in:
Xavier J 2017-01-03 11:55:45 +01:00
parent e051dc371e
commit 3ccb5af4d3

View file

@ -6,7 +6,7 @@ feature 'Administrator connection' do
visit new_administrateur_session_path
end
scenario 'administrator is on admin loggin page' do
expect(page).to have_css('#login_admin')
expect(page).to have_css('#form_login.user_connexion_page')
end
context "admin fills form and log in" do