Permalink
Browse files

Fix failing html/text_mate formatter specs

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
  • Loading branch information...
1 parent e7ae4b2 commit d2ee4e5c0a54a207b9294b88e84035efb67da703 @samphippen samphippen committed Mar 25, 2013
View
1 spec/rspec/core/formatters/html_formatter_spec.rb
@@ -33,6 +33,7 @@ module Formatters
out.set_encoding("utf-8") if out.respond_to?(:set_encoding)
command_line = RSpec::Core::CommandLine.new(options)
+ command_line.instance_variable_get("@configuration").backtrace_cleaner.inclusion_patterns = []
command_line.run(err, out)
out.string.gsub(/\d+\.\d+(s| seconds)/, "n.nnnn\\1")
end
View
1 spec/rspec/core/formatters/text_mate_formatter_spec.rb
@@ -33,6 +33,7 @@ module Formatters
out.set_encoding("utf-8") if out.respond_to?(:set_encoding)
command_line = RSpec::Core::CommandLine.new(options)
+ command_line.instance_variable_get("@configuration").backtrace_cleaner.inclusion_patterns = []
command_line.run(err, out)
out.string.gsub(/\d+\.\d+(s| seconds)/, "n.nnnn\\1")
end

0 comments on commit d2ee4e5

Please sign in to comment.