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