Sha256: 61e4aad4c939b548b7b791e844d57531c0a7e43d3d2765e79df113cb2f168ede
Contents?: true
Size: 321 Bytes
Versions: 6
Compression:
Stored size: 321 Bytes
Contents
require 'nc' class NcFail < Nc if rspec_3? RSpec::Core::Formatters.register self, :example_failed end def say(title, body) @failed_examples ||= [] return if @failed_examples.size <= 0 super end def example_failed(failure) @failed_examples ||= [] @failed_examples << failure end end
Version data entries
6 entries across 6 versions & 2 rubygems