diff options
| author | Bryce Johnson <bryce@gitlab.com> | 2016-09-28 17:13:42 +0200 |
|---|---|---|
| committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-15 08:28:53 +0200 |
| commit | 445711675ca198660dcaee014cd4229b8eb266ab (patch) | |
| tree | c210693db2cf29611cf7151b0e43446370726772 /spec/support | |
| parent | 1fd09260826413da928363c3199d4dfbb770d2c3 (diff) | |
| download | gitlab-ce-445711675ca198660dcaee014cd4229b8eb266ab.tar.gz | |
Fix nesting on sessions/new.
Diffstat (limited to 'spec/support')
| -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 |
