diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 21:56:22 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 21:56:22 +0400 |
commit | 6a9e7dc55bbf7bedaee1870763132d65dad15be9 (patch) | |
tree | b39d0965e5043a1aa807416c654584f743beaf9d /features/steps/group | |
parent | ccf0686b01160e4a61bf8fb4b26f43d1486af9c2 (diff) |
Fixed spinach
Diffstat (limited to 'features/steps/group')
-rw-r--r-- | features/steps/group/group.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index 02a1dd13505..90d27add7c7 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps include SharedPaths Then 'I should see projects list' do - current_user.projects.each do |project| + current_user.authorized_projects.each do |project| page.should have_link project.name end end @@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps end def project - current_group.projects.first + current_group.authorized_projects.first end def assigned_to_me key |