From 170340e6b15f91e79cf683c892ec887c3115b317 Mon Sep 17 00:00:00 2001 From: Ciro Santillli Date: Sun, 23 Feb 2014 10:04:56 +0100 Subject: Remove dir prefix and suffix from tests inside dir. --- features/steps/project/graph.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 features/steps/project/graph.rb (limited to 'features/steps/project/graph.rb') 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 -- cgit v1.2.1