From e3d4eb2140029dcc42144e2d2920386fe8be9cc2 Mon Sep 17 00:00:00 2001 From: Steven Thonus Date: Sat, 30 Nov 2013 17:25:04 +0100 Subject: [PATCH] type_fix_for_project_network_graph --- features/project/network.feature | 6 +++--- features/steps/project/project_network_graph.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/features/project/network.feature b/features/project/network.feature index ceae08c1074..22beb1c50bc 100644 --- a/features/project/network.feature +++ b/features/project/network.feature @@ -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 ";" diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb index 127adecf7ed..4954db2d7b1 100644 --- a/features/steps/project/project_network_graph.rb +++ b/features/steps/project/project_network_graph.rb @@ -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