2014-09-22 10:30:25 -04:00
|
|
|
class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
|
2013-06-05 08:50:11 -04:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'page should have graphs' do
|
2013-06-05 08:50:11 -04:00
|
|
|
page.should have_selector ".stat-graph"
|
|
|
|
end
|
|
|
|
|
|
|
|
When 'I visit project "Shop" graph page' do
|
2014-01-19 13:55:59 -05:00
|
|
|
project = Project.find_by(name: "Shop")
|
2013-06-11 02:54:01 -04:00
|
|
|
visit project_graph_path(project, "master")
|
2013-06-05 08:50:11 -04:00
|
|
|
end
|
|
|
|
end
|