Fix tests
This commit is contained in:
parent
0e90cc937b
commit
febb3f6ac7
@ -10,7 +10,6 @@ feature 'Navigation links', :devise do
|
||||
# Then I see "home," "sign in," and "sign up"
|
||||
scenario 'view navigation links' do
|
||||
visit root_path
|
||||
expect(page).to have_content 'Home'
|
||||
expect(page).to have_content 'Sign in'
|
||||
expect(page).to have_content 'Sign up'
|
||||
end
|
||||
|
||||
@ -12,7 +12,7 @@ module Features
|
||||
visit new_user_session_path
|
||||
fill_in 'Email', with: email
|
||||
fill_in 'Password', with: password
|
||||
click_button 'Sign in'
|
||||
click_button 'Log in'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user