Commit 6a9e7dc5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed spinach

parent ccf0686b
...@@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment