Skip to content
Snippets Groups Projects
Commit c626ec37 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Implement pending dashboard step

parent 4f7bd583
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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")
 
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment