summaryrefslogtreecommitdiff
path: root/features/steps/shared/authentication.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-06-26 09:49:14 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-07-17 22:47:16 +0200
commit714f7201d3362793d11f33793e5ef6dc83bdd2f0 (patch)
tree54e6a4cc5ef89e132a123231b439b83de0e54d54 /features/steps/shared/authentication.rb
parentb634d2801e6abdd039447f53ec5d9cf709f66b06 (diff)
downloadgitlab-ce-714f7201d3362793d11f33793e5ef6dc83bdd2f0.tar.gz
Add project stars.
Diffstat (limited to 'features/steps/shared/authentication.rb')
-rw-r--r--features/steps/shared/authentication.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/authentication.rb b/features/steps/shared/authentication.rb
index b8c11ce0a23..b48021dc146 100644
--- a/features/steps/shared/authentication.rb
+++ b/features/steps/shared/authentication.rb
@@ -24,6 +24,10 @@ module SharedAuthentication
current_path.should == new_user_session_path
end
+ step "I logout" do
+ logout
+ end
+
def current_user
@user || User.first
end