Commit 6a9e7dc55bbf7bedaee1870763132d65dad15be9

Authored by Dmitriy Zaporozhets
1 parent ccf0686b

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,7 +3,7 @@ class Groups < Spinach::FeatureSteps
3 include SharedPaths 3 include SharedPaths
4 4
5 Then 'I should see projects list' do 5 Then 'I should see projects list' do
6 - current_user.projects.each do |project| 6 + current_user.authorized_projects.each do |project|
7 page.should have_link project.name 7 page.should have_link project.name
8 end 8 end
9 end 9 end
@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps @@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
71 end 71 end
72 72
73 def project 73 def project
74 - current_group.projects.first 74 + current_group.authorized_projects.first
75 end 75 end
76 76
77 def assigned_to_me key 77 def assigned_to_me key