Permalink
Browse files

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

…green.
  • Loading branch information...
1 parent a1064cf commit 07131d6972e4f09bdc458fe3c08f5074d30b54f4 @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 07131d6

Please sign in to comment.