diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-27 16:31:19 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-28 15:17:29 +0300 |
commit | a44988ae4abb494b1194bb575b2415ef0de68878 (patch) | |
tree | d0c5e2a1e48e50d23547d45342bddd81c78dfec2 /spec/support/login_helpers.rb | |
parent | e7aa8315af71339ecb6b01ae7da83f3c9b1e1957 (diff) |
Fixed logout tests
Diffstat (limited to 'spec/support/login_helpers.rb')
-rw-r--r-- | spec/support/login_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb index 7a0f078c72b..ffdf2bb0a8a 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -39,7 +39,8 @@ module LoginHelpers # Requires Javascript driver. def logout - find(:css, ".fa.fa-sign-out").click + find(".header-user-dropdown-toggle").click + click_link "Sign out" end # Logout without JavaScript driver |