Commit 7f3ff69e3e3020aa53587b9ac907a9238b3d528c

Authored by Sytse Sijbrandij
2 parents 477e9f87 e3d4eb21

Merge pull request #5737 from Popl7/type_fix_for_project_network_graph

type_fix_for_project_network_graph
features/project/network.feature
... ... @@ -29,11 +29,11 @@ Feature: Project Network Graph
29 29 @javascript
30 30 Scenario: I should filter selected tag
31 31 When I switch ref to "v2.1.0"
32   - Then page should have content not cotaining "v2.1.0"
  32 + Then page should have content not containing "v2.1.0"
33 33 When click "Show only selected branch" checkbox
34   - Then page should not have content not cotaining "v2.1.0"
  34 + Then page should not have content not containing "v2.1.0"
35 35 When click "Show only selected branch" checkbox
36   - Then page should have content not cotaining "v2.1.0"
  36 + Then page should have content not containing "v2.1.0"
37 37  
38 38 Scenario: I should fail to look for a commit
39 39 When I look for a commit by ";"
... ...
features/steps/project/project_network_graph.rb
... ... @@ -43,13 +43,13 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
43 43 sleep 2
44 44 end
45 45  
46   - Then 'page should have content not cotaining "v2.1.0"' do
  46 + Then 'page should have content not containing "v2.1.0"' do
47 47 within '.network-graph' do
48 48 page.should have_content 'cleaning'
49 49 end
50 50 end
51 51  
52   - Then 'page should not have content not cotaining "v2.1.0"' do
  52 + Then 'page should not have content not containing "v2.1.0"' do
53 53 within '.network-graph' do
54 54 page.should_not have_content 'cleaning'
55 55 end
... ...