diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-07-04 11:26:59 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-07-18 00:47:16 +0400 |
commit | c589029667644df4593572e2c94226bd2a5f7740 (patch) | |
tree | aa89558c39206d6aa48797b556100c77443ab66c /spec/support/login_helpers.rb | |
parent | 714f7201d3362793d11f33793e5ef6dc83bdd2f0 (diff) |
Fix failing spec.
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 88e4d0419cb..238ac7c6611 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -19,7 +19,8 @@ module LoginHelpers Thread.current[:current_user] = user end + # Requires Javascript driver. def logout - page.find(:css, ".icon-signout").click rescue nil + page.find(:css, ".icon-signout").click end end |