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.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/project/graph.rb b/features/steps/project/graph.rb
index c54321717b3..ba460ac8097 100644
--- a/features/steps/project/graph.rb
+++ b/features/steps/project/graph.rb
@@ -10,4 +10,14 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
project = Project.find_by(name: "Shop")
visit project_graph_path(project, "master")
end
+
+ step 'I visit project "Shop" commits graph page' do
+ project = Project.find_by(name: "Shop")
+ visit commits_project_graph_path(project, "master")
+ end
+
+ step 'page should have commits graphs' do
+ page.should have_content "Commits statistic for master"
+ page.should have_content "Commits per day of month"
+ end
end