Commit a6cfb54c88f34127a696992041c5690885baa6f5
1 parent
37472203
Exists in
master
and in
4 other branches
Fixed network tests
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
features/steps/project/project_network_graph.rb
| @@ -3,7 +3,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -3,7 +3,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 3 | include SharedProject | 3 | include SharedProject |
| 4 | 4 | ||
| 5 | Then 'page should have network graph' do | 5 | Then 'page should have network graph' do |
| 6 | - page.should have_selector ".graph" | 6 | + page.should have_selector ".network-graph" |
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | When 'I visit project "Shop" network page' do | 9 | When 'I visit project "Shop" network page' do |
| @@ -23,7 +23,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -23,7 +23,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 23 | end | 23 | end |
| 24 | 24 | ||
| 25 | And 'page should have "master" on graph' do | 25 | And 'page should have "master" on graph' do |
| 26 | - within '.graph' do | 26 | + within '.network-graph' do |
| 27 | page.should have_content 'master' | 27 | page.should have_content 'master' |
| 28 | end | 28 | end |
| 29 | end | 29 | end |
| @@ -49,13 +49,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -49,13 +49,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 49 | end | 49 | end |
| 50 | 50 | ||
| 51 | Then 'page should have content not cotaining "v2.1.0"' do | 51 | Then 'page should have content not cotaining "v2.1.0"' do |
| 52 | - within '.graph' do | 52 | + within '.network-graph' do |
| 53 | page.should have_content 'cleaning' | 53 | page.should have_content 'cleaning' |
| 54 | end | 54 | end |
| 55 | end | 55 | end |
| 56 | 56 | ||
| 57 | Then 'page should not have content not cotaining "v2.1.0"' do | 57 | Then 'page should not have content not cotaining "v2.1.0"' do |
| 58 | - within '.graph' do | 58 | + within '.network-graph' do |
| 59 | page.should_not have_content 'cleaning' | 59 | page.should_not have_content 'cleaning' |
| 60 | end | 60 | end |
| 61 | end | 61 | end |
| @@ -69,7 +69,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -69,7 +69,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 69 | end | 69 | end |
| 70 | 70 | ||
| 71 | And 'page should have "stable" on graph' do | 71 | And 'page should have "stable" on graph' do |
| 72 | - within '.graph' do | 72 | + within '.network-graph' do |
| 73 | page.should have_content 'stable' | 73 | page.should have_content 'stable' |
| 74 | end | 74 | end |
| 75 | end | 75 | end |
| @@ -83,7 +83,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -83,7 +83,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 83 | end | 83 | end |
| 84 | 84 | ||
| 85 | And 'page should have "v2.1.0" on graph' do | 85 | And 'page should have "v2.1.0" on graph' do |
| 86 | - within '.graph' do | 86 | + within '.network-graph' do |
| 87 | page.should have_content 'v2.1.0' | 87 | page.should have_content 'v2.1.0' |
| 88 | end | 88 | end |
| 89 | end | 89 | end |