summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-15 16:18:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-15 16:18:47 +0300
commita6cfb54c88f34127a696992041c5690885baa6f5 (patch)
tree07002d94af2816b37c01950c784a7fdd9126b132 /features
parent374722030fb5380cb92bc5471a0cce41e2df8e04 (diff)
downloadgitlab-ce-a6cfb54c88f34127a696992041c5690885baa6f5.tar.gz
Fixed network tests
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_network_graph.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb
index f091e320d75..9ff29ea81a1 100644
--- a/features/steps/project/project_network_graph.rb
+++ b/features/steps/project/project_network_graph.rb
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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