summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-02 20:45:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-02 20:45:11 +0200
commitce484fa9da2edd7e2be98600e2fe81770de31a90 (patch)
tree28752a93aaf85ec8c5a8b0309b0d7c36dcc33041 /features
parent67896ea9a258eee8bb8ecca849d59f48e16ac77a (diff)
downloadgitlab-ce-ce484fa9da2edd7e2be98600e2fe81770de31a90.tar.gz
Fixed admin -> group -> show
Diffstat (limited to 'features')
-rw-r--r--features/steps/admin/admin_groups.rb2
-rw-r--r--features/steps/group/group.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/features/steps/admin/admin_groups.rb b/features/steps/admin/admin_groups.rb
index 0271348eb1d..4cd071657fe 100644
--- a/features/steps/admin/admin_groups.rb
+++ b/features/steps/admin/admin_groups.rb
@@ -56,6 +56,4 @@ class AdminGroups < Spinach::FeatureSteps
def current_group
@group ||= Group.first
end
-
end
-
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 90d27add7c7..e3364f09e34 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
end
def project
- current_group.authorized_projects.first
+ current_group.projects.first
end
def assigned_to_me key