Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-07-04 11:26:59 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-07-18 00:47:16 +0400
commitc589029667644df4593572e2c94226bd2a5f7740 (patch)
treeaa89558c39206d6aa48797b556100c77443ab66c /spec/support/login_helpers.rb
parent714f7201d3362793d11f33793e5ef6dc83bdd2f0 (diff)
Fix failing spec.
Diffstat (limited to 'spec/support/login_helpers.rb')
-rw-r--r--spec/support/login_helpers.rb3
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