Fixed spinach
This commit is contained in:
parent
ccf0686b01
commit
6a9e7dc55b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue