summaryrefslogtreecommitdiff
path: root/features/steps/project/graph.rb
diff options
context:
space:
mode:
authorCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:04:56 +0100
committerCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:34:39 +0100
commit170340e6b15f91e79cf683c892ec887c3115b317 (patch)
tree19cf1f82b08201295b3e66170a967e813c522189 /features/steps/project/graph.rb
parente868de687da060a109bd67fd492ed110eb134d47 (diff)
downloadgitlab-ce-170340e6b15f91e79cf683c892ec887c3115b317.tar.gz
Remove dir prefix and suffix from tests inside dir.
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