features/support/no_error_matcher.rb in message-driver-0.6.1 vs features/support/no_error_matcher.rb in message-driver-0.7.0
- old
+ new
@@ -4,10 +4,10 @@
end
failure_message do |test_runner|
err = test_runner.raised_error
filtered = (err.backtrace || []).reject do |line|
- Cucumber::Ast::StepInvocation::BACKTRACE_FILTER_PATTERNS.find { |p| line =~ p }
+ Cucumber::Formatter::BACKTRACE_FILTER_PATTERNS.find { |p| line =~ p }
end
(["#{err.class}: #{err}"] + filtered).join("\n ")
end
end