Sha256: bdac3624ab9df425c7a36c249cd9be74b1870094fb44dd7017180cf69ff3392e
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require 'spec/runner/reporter' module Spec module Runner class Reporter def failure(example, error) backtrace_tweaker.tweak_backtrace(error) example_name = "#{example.class.description} #{example.description}" failure = Failure.new(example_name, error) @failures << failure formatters.each do |f| f.example_failed(example, @failures.length, failure) end end alias_method :example_failed, :failure end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deep_test-1.1.3 | lib/deep_test/spec/extensions/reporter.rb |