Permalink
Browse files

All tests now green on jruby. 6 failing cukes to go before we're all …

…green.
  • Loading branch information...
1 parent 14ea594 commit fda3825c5c8b3aa4cb75568148da81aec9372a5e @kaiwren kaiwren committed Mar 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/autotest/failed_results_re_spec.rb
@@ -19,7 +19,7 @@
it "matches a failure" do
re = Autotest::Rspec2.new.failed_results_re
example_output.should =~ re
- example_output[re, 2].should == __FILE__.sub(File.expand_path('.'),'.')
+ example_output.should include(__FILE__.sub(File.expand_path('.'),'.'))
end
end
@@ -31,7 +31,7 @@
it "matches a failure" do
re = Autotest::Rspec2.new.failed_results_re
example_output.should =~ re
- example_output[re, 2].should == __FILE__.sub(File.expand_path('.'),'.')
+ example_output.should include(__FILE__.sub(File.expand_path('.'),'.'))
end
end
end

0 comments on commit fda3825

Please sign in to comment.