diff options
author | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-23 10:04:56 +0100 |
---|---|---|
committer | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-23 10:34:39 +0100 |
commit | 170340e6b15f91e79cf683c892ec887c3115b317 (patch) | |
tree | 19cf1f82b08201295b3e66170a967e813c522189 /features/steps/project/graph.rb | |
parent | e868de687da060a109bd67fd492ed110eb134d47 (diff) | |
download | gitlab-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.rb | 13 |
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 |