gitlab-org--gitlab-foss/features/steps/project/graph.rb
2014-02-23 10:34:39 +01:00

13 lines
334 B
Ruby

class ProjectGraph < Spinach::FeatureSteps
include SharedAuthentication
include SharedProject
Then 'page should have graphs' do
page.should have_selector ".stat-graph"
end
When 'I visit project "Shop" graph page' do
project = Project.find_by(name: "Shop")
visit project_graph_path(project, "master")
end
end