diff --git a/spec/features/visitors/navigation_spec.rb b/spec/features/visitors/navigation_spec.rb index ecd8fc02..73041e86 100644 --- a/spec/features/visitors/navigation_spec.rb +++ b/spec/features/visitors/navigation_spec.rb @@ -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 diff --git a/spec/support/helpers/session_helpers.rb b/spec/support/helpers/session_helpers.rb index cb6b66fd..88e2dec6 100644 --- a/spec/support/helpers/session_helpers.rb +++ b/spec/support/helpers/session_helpers.rb @@ -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