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 | 3 | include SharedProject |
4 | 4 | |
5 | 5 | Then 'page should have network graph' do |
6 | - page.should have_selector ".graph" | |
6 | + page.should have_selector ".network-graph" | |
7 | 7 | end |
8 | 8 | |
9 | 9 | When 'I visit project "Shop" network page' do |
... | ... | @@ -23,7 +23,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps |
23 | 23 | end |
24 | 24 | |
25 | 25 | And 'page should have "master" on graph' do |
26 | - within '.graph' do | |
26 | + within '.network-graph' do | |
27 | 27 | page.should have_content 'master' |
28 | 28 | end |
29 | 29 | end |
... | ... | @@ -49,13 +49,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps |
49 | 49 | end |
50 | 50 | |
51 | 51 | Then 'page should have content not cotaining "v2.1.0"' do |
52 | - within '.graph' do | |
52 | + within '.network-graph' do | |
53 | 53 | page.should have_content 'cleaning' |
54 | 54 | end |
55 | 55 | end |
56 | 56 | |
57 | 57 | Then 'page should not have content not cotaining "v2.1.0"' do |
58 | - within '.graph' do | |
58 | + within '.network-graph' do | |
59 | 59 | page.should_not have_content 'cleaning' |
60 | 60 | end |
61 | 61 | end |
... | ... | @@ -69,7 +69,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps |
69 | 69 | end |
70 | 70 | |
71 | 71 | And 'page should have "stable" on graph' do |
72 | - within '.graph' do | |
72 | + within '.network-graph' do | |
73 | 73 | page.should have_content 'stable' |
74 | 74 | end |
75 | 75 | end |
... | ... | @@ -83,7 +83,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps |
83 | 83 | end |
84 | 84 | |
85 | 85 | And 'page should have "v2.1.0" on graph' do |
86 | - within '.graph' do | |
86 | + within '.network-graph' do | |
87 | 87 | page.should have_content 'v2.1.0' |
88 | 88 | end |
89 | 89 | end | ... | ... |