Commit 6a9e7dc55bbf7bedaee1870763132d65dad15be9
1 parent
ccf0686b
Exists in
master
and in
4 other branches
Fixed spinach
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
features/steps/group/group.rb
| ... | ... | @@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps |
| 3 | 3 | include SharedPaths |
| 4 | 4 | |
| 5 | 5 | Then 'I should see projects list' do |
| 6 | - current_user.projects.each do |project| | |
| 6 | + current_user.authorized_projects.each do |project| | |
| 7 | 7 | page.should have_link project.name |
| 8 | 8 | end |
| 9 | 9 | end |
| ... | ... | @@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps |
| 71 | 71 | end |
| 72 | 72 | |
| 73 | 73 | def project |
| 74 | - current_group.projects.first | |
| 74 | + current_group.authorized_projects.first | |
| 75 | 75 | end |
| 76 | 76 | |
| 77 | 77 | def assigned_to_me key | ... | ... |