Skip to content

Commit 358c7fa

Browse files
committed
Require 2.0.0 to pass for travis to pass
1 parent 20553ab commit 358c7fa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ script: bundle exec rake
99
branches:
1010
only:
1111
- master
12-
matrix:
13-
allow_failures:
14-
- rvm: 2.0.0

features/step_definitions/html_steps.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
actual_headers = text.split("\n")
2323
expected_headers = table.raw.map { |row| row.join(": ") }
2424

25-
actual_headers.should =~ expected_headers
25+
expected_headers.each do |row|
26+
actual_headers.should include(row)
27+
end
2628
end
2729

2830
Then /^I should see the route is "([^"]*)"$/ do |route|

0 commit comments

Comments
 (0)