Skip to content
Snippets Groups Projects
Commit a6cfb54c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fixed network tests

parent 37472203
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
include SharedProject
 
Then 'page should have network graph' do
page.should have_selector ".graph"
page.should have_selector ".network-graph"
end
 
When 'I visit project "Shop" network page' do
Loading
Loading
@@ -23,7 +23,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
 
And 'page should have "master" on graph' do
within '.graph' do
within '.network-graph' do
page.should have_content 'master'
end
end
Loading
Loading
@@ -49,13 +49,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
 
Then 'page should have content not cotaining "v2.1.0"' do
within '.graph' do
within '.network-graph' do
page.should have_content 'cleaning'
end
end
 
Then 'page should not have content not cotaining "v2.1.0"' do
within '.graph' do
within '.network-graph' do
page.should_not have_content 'cleaning'
end
end
Loading
Loading
@@ -69,7 +69,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
 
And 'page should have "stable" on graph' do
within '.graph' do
within '.network-graph' do
page.should have_content 'stable'
end
end
Loading
Loading
@@ -83,7 +83,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
 
And 'page should have "v2.1.0" on graph' do
within '.graph' do
within '.network-graph' do
page.should have_content 'v2.1.0'
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment