OSDN Git Service

type_fix_for_project_network_graph
authorSteven Thonus <steven@ln2.nl>
Sat, 30 Nov 2013 16:25:04 +0000 (17:25 +0100)
committerSteven Thonus <steven@ln2.nl>
Sat, 30 Nov 2013 16:27:02 +0000 (17:27 +0100)
features/project/network.feature
features/steps/project/project_network_graph.rb

index ceae08c..22beb1c 100644 (file)
@@ -29,11 +29,11 @@ Feature: Project Network Graph
   @javascript
   Scenario: I should filter selected tag
     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
-    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
-    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
     When I look for a commit by ";"
index 127adec..4954db2 100644 (file)
@@ -43,13 +43,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
     sleep 2
   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
       page.should have_content 'cleaning'
     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
       page.should_not have_content 'cleaning'
     end