Commit 7f3ff69e authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Merge pull request #5737 from Popl7/type_fix_for_project_network_graph

type_fix_for_project_network_graph
parents 477e9f87 e3d4eb21
...@@ -29,11 +29,11 @@ Feature: Project Network Graph ...@@ -29,11 +29,11 @@ Feature: Project Network Graph
@javascript @javascript
Scenario: I should filter selected tag Scenario: I should filter selected tag
When I switch ref to "v2.1.0" When I switch ref to "v2.1.0"
Then page should have content not cotaining "v2.1.0" Then page should have content not containing "v2.1.0"
When click "Show only selected branch" checkbox When click "Show only selected branch" checkbox
Then page should not have content not cotaining "v2.1.0" Then page should not have content not containing "v2.1.0"
When click "Show only selected branch" checkbox When click "Show only selected branch" checkbox
Then page should have content not cotaining "v2.1.0" Then page should have content not containing "v2.1.0"
Scenario: I should fail to look for a commit Scenario: I should fail to look for a commit
When I look for a commit by ";" When I look for a commit by ";"
......
...@@ -43,13 +43,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -43,13 +43,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
sleep 2 sleep 2
end end
Then 'page should have content not cotaining "v2.1.0"' do Then 'page should have content not containing "v2.1.0"' do
within '.network-graph' do within '.network-graph' do
page.should have_content 'cleaning' page.should have_content 'cleaning'
end end
end end
Then 'page should not have content not cotaining "v2.1.0"' do Then 'page should not have content not containing "v2.1.0"' do
within '.network-graph' do within '.network-graph' do
page.should_not have_content 'cleaning' page.should_not have_content 'cleaning'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment