update spec

This commit is contained in:
Priit Tamboom 2014-11-25 16:26:19 +02:00
parent 3b595cb839
commit 623fd25134
2 changed files with 3 additions and 3 deletions

View file

@ -14,9 +14,9 @@ feature 'Sessions', type: :feature do
scenario 'Admin logs in' do
visit root_path
expect(page).to have_button('ID card (gitlab)')
expect(page).to have_button('ID card (user1)')
click_on 'ID card (gitlab)'
click_on 'ID card (user1)'
expect(page).to have_text('Welcome!')
uri = URI.parse(current_url)