From febb3f6ac7ff3d608c9c9849a6cb3bbf6a5c49f4 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Fri, 2 Jan 2015 03:13:22 -0800 Subject: [PATCH] Fix tests --- spec/features/visitors/navigation_spec.rb | 1 - spec/support/helpers/session_helpers.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/features/visitors/navigation_spec.rb b/spec/features/visitors/navigation_spec.rb index ecd8fc0..73041e8 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 cb6b66f..88e2dec 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