Fixed all the tests on rspec-core on JRuby 1.6.0. There are now 4 cuke failures pending. #343

Closed
wants to merge 1 commit into
from
View
4 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