debian-mirror-gitlab/features/steps/project/graph.rb
2014-09-02 14:37:02 +02: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