summaryrefslogtreecommitdiff
path: root/features/steps/project/project_graph.rb
blob: 50942b3cbb3210017aed126f7896c7405e2a17e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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