Fixed spinach

This commit is contained in:
Dmitriy Zaporozhets 2013-01-02 19:56:22 +02:00
parent ccf0686b01
commit 6a9e7dc55b
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps
include SharedPaths include SharedPaths
Then 'I should see projects list' do 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 page.should have_link project.name
end end
end end
@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
end end
def project def project
current_group.projects.first current_group.authorized_projects.first
end end
def assigned_to_me key def assigned_to_me key