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

feature tests

parent cd47e625
No related branches found
No related tags found
2 merge requests!2940Expanding repos and hooks paths in settings,!2787Feature: Projects page
Feature: Dashboard
Background:
Given I sign in as a user
And I own project "Shop"
And I visit dashboard projects page
Scenario: I should see issues list
Then I should see projects list
Loading
Loading
@@ -63,6 +63,12 @@ class Dashboard < Spinach::FeatureSteps
@project.team << [current_user, :master]
end
 
Then 'I should see projects list' do
@user.authorized_projects.all.each do |project|
page.should have_link project.name_with_namespace
end
end
Then 'I should see groups list' do
Group.all.each do |group|
page.should have_link group.name
Loading
Loading
Loading
Loading
@@ -33,6 +33,10 @@ module SharedPaths
visit dashboard_path
end
 
Given 'I visit dashboard projects page' do
visit projects_dashboard_path
end
Given 'I visit dashboard issues page' do
visit issues_dashboard_path
end
Loading
Loading
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