From 6737cf35e3924b337ee0ededfd0e22e65a2115c4 Mon Sep 17 00:00:00 2001 From: David Borow Date: Mon, 2 Mar 2015 13:55:22 +0100 Subject: [PATCH] corrected bug that prevent rspec to be green at first launch --- spec/support/helpers/session_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def signin(email, password) 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