summaryrefslogtreecommitdiff
path: root/features/steps/project/graph.rb
blob: eb7cc42e942bd82ed9a4b1cce1a2f4b439051d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ProjectGraph < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject

  step '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