debian-mirror-gitlab/features/steps/project/graph.rb

14 lines
334 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
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