public
Rubygem
Description: Suppresses the noise in your Test::Unit backtraces
Homepage: http://www.thoughtbot.com/projects/quietbacktrace
Clone URL: git://github.com/thoughtbot/quietbacktrace.git
fixing test suite - defaults needed updating in reset_filter! test helper 
method
dancroak (author)
Tue Aug 19 05:55:43 -0700 2008
commit  ebbcce07b5b711b7e4037cfa34d98a56de540572
tree    138a2917e3664f3d24979959a76d9e2c64c50c5e
parent  5e9b7ffc91ba7a64dbc248c9f118d53c1ad07ac7
...
67
68
69
70
 
71
72
73
...
130
131
132
133
 
134
135
136
...
67
68
69
 
70
71
72
73
...
130
131
132
 
133
134
135
136
0
@@ -67,7 +67,7 @@
0
 # * James Golick (james@giraffesoft.ca, http://jamesgolick.com)
0
 # * Joe Ferris (jferris@thoughtbot.com)
0
 #
0
-# Special thanks to the Boston.rb group (http://boston.rubygroup.org)
0
+# Special thanks to the Boston.rb group (http://bostonrb.org)
0
 # for cultivating this idea at our inaugural hackfest.
0
 #
0
 # == Requirements
0
@@ -130,7 +130,7 @@ module QuietBacktrace # :nodoc: all
0
           (line.include?("ruby") && line.include?("/test/unit"))
0
         end
0
         new_backtrace_silencer(:os_x_ruby) do |line|
0
- line.include?(/ruby\/1\.8\/benchmark/)
0
+ line.include?('Ruby.framework')
0
         end
0
         new_backtrace_silencer(:gem_root) do |line|
0
           line =~ /ruby\/gems/i
...
135
136
137
138
 
139
140
141
...
135
136
137
 
138
139
140
141
0
@@ -135,7 +135,7 @@ class QuietBacktraceTest < Test::Unit::TestCase # :nodoc:
0
   
0
     def reset_filter!
0
       self.quiet_backtrace = true
0
- self.backtrace_silencers = [:test_unit, :gem_root]
0
+ self.backtrace_silencers = [:test_unit, :os_x_ruby, :gem_root, :e1]
0
       self.backtrace_filters = [:method_name]
0
     end
0
   

Comments

    No one has commented yet.