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

Fixed spinach

parent ccf0686b
......@@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps
include SharedPaths
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
end
end
......@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
end
def project
current_group.projects.first
current_group.authorized_projects.first
end
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