Commit c626ec37 authored by randx's avatar randx

Implement pending dashboard step

parent 4f7bd583
No related merge requests found
......@@ -64,6 +64,14 @@ class Dashboard < Spinach::FeatureSteps
@project.add_access(@user, :admin)
end
And 'I have group with projects' do
@group = Factory :group
@project = Factory :project, group: @group
@event = Factory :closed_issue_event, project: @project
@project.add_access current_user, :admin
end
And 'project "Shop" has push event' do
@project = Project.find_by_name("Shop")
......@@ -89,4 +97,10 @@ class Dashboard < Spinach::FeatureSteps
:author_id => @user.id
)
end
Then 'I should see groups list' do
Group.all.each do |group|
page.should have_link group.name
end
end
end
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