summaryrefslogtreecommitdiff
path: root/features/steps/project/graph.rb
blob: 89fe5fdeadfbcc3ac53fecc7e2f15c3c73464132 (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