Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Created February 22, 2011 12:57
Show Gist options
  • Save dchelimsky/838628 to your computer and use it in GitHub Desktop.
Save dchelimsky/838628 to your computer and use it in GitHub Desktop.
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