Sha256: bd89761ea54b557fff969f8f7eb25a5223633e5b31c53a1cef89936353b7f63a
Contents?: true
Size: 466 Bytes
Versions: 8
Compression:
Stored size: 466 Bytes
Contents
require 'spec/runner/formatter/base_text_formatter' # Example of a custom formatter. Run me with: # bin/spec examples -r examples/custom_formatter.rb -f CustomFormatter class CustomFormatter < Spec::Runner::Formatter::BaseTextFormatter def add_context(name, first) @output << "\n" if first end def spec_failed(name, counter) @output << 'X' end def spec_passed(name) @output << '_' end def start_dump @output << "\n" end end
Version data entries
8 entries across 8 versions & 1 rubygems