Created
February 22, 2011 12:57
-
-
Save dchelimsky/838628 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/autotest/failed_results_re_spec.rb b/spec/autotest/failed_results_re_spec.rb | |
index ea04333..a536c9c 100644 | |
--- a/spec/autotest/failed_results_re_spec.rb | |
+++ b/spec/autotest/failed_results_re_spec.rb | |
@@ -18,6 +18,11 @@ describe "failed_results_re for autotest" do | |
it "matches a failure" do | |
re = Autotest::Rspec2.new.failed_results_re | |
+ puts "*"*50 | |
+ p re | |
+ puts "*"*50 | |
+ p example_output | |
+ puts "*"*50 | |
example_output.should =~ re | |
example_output[re, 2].should == __FILE__.sub(File.expand_path('.'),'.') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment