summaryrefslogtreecommitdiff
path: root/features/steps/shared/authentication.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-25 20:11:57 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:24 -0400
commitcada511f8b88671bb8a99600ed314c3beb5a36f4 (patch)
tree978958c53389be9d44adebbf4d84777ee5dbde6b /features/steps/shared/authentication.rb
parentf814da38bf3d86b8ff045ff585c75af4d6755184 (diff)
downloadgitlab-ce-cada511f8b88671bb8a99600ed314c3beb5a36f4.tar.gz
Add features for checking the "Active Tab" across various pages
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 77d9839f5b7..2add91617fe 100644
--- a/features/steps/shared/authentication.rb
+++ b/features/steps/shared/authentication.rb
@@ -7,4 +7,8 @@ module SharedAuthentication
Given 'I sign in as a user' do
login_as :user
end
+
+ Given 'I sign in as an admin' do
+ login_as :admin
+ end
end