diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-28 18:13:42 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-15 09:28:53 +0300 |
commit | 445711675ca198660dcaee014cd4229b8eb266ab (patch) | |
tree | c210693db2cf29611cf7151b0e43446370726772 /spec/support/login_helpers.rb | |
parent | 1fd09260826413da928363c3199d4dfbb770d2c3 (diff) |
Fix nesting on sessions/new.
Diffstat (limited to 'spec/support/login_helpers.rb')
-rw-r--r-- | spec/support/login_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb index ea9edc85248..c0b3e83244d 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -33,7 +33,7 @@ module LoginHelpers fill_in "user_login", with: user.email fill_in "user_password", with: "12345678" check 'user_remember_me' if remember - first('.login-box').click_button('Sign in') + click_button "Sign in" Thread.current[:current_user] = user end |