summaryrefslogtreecommitdiff
path: root/features/steps/project/graph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/graph.rb')
-rw-r--r--features/steps/project/graph.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/features/steps/project/graph.rb b/features/steps/project/graph.rb
new file mode 100644
index 00000000000..89fe5fdeadf
--- /dev/null
+++ b/features/steps/project/graph.rb
@@ -0,0 +1,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