diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 22:45:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 22:45:11 +0400 |
commit | ce484fa9da2edd7e2be98600e2fe81770de31a90 (patch) | |
tree | 28752a93aaf85ec8c5a8b0309b0d7c36dcc33041 /features | |
parent | 67896ea9a258eee8bb8ecca849d59f48e16ac77a (diff) |
Fixed admin -> group -> show
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/admin/admin_groups.rb | 2 | ||||
-rw-r--r-- | features/steps/group/group.rb | 2 |
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 |