Sha256: c05a1aa612259fe3572b06a8a58d3a63b47c594965c7c784cebc4fc7c51fb91e

Contents?: true

Size: 348 Bytes

Versions: 16

Compression:

Stored size: 348 Bytes

Contents

require 'spec/runner/formatter/specdoc_formatter'

class CustomFormatterForRSpec < Spec::Runner::Formatter::SpecdocFormatter
  def example_passed(example)
    super
    output.flush
  end

  def example_pending(example, message)
    super
    output.flush
  end

  def example_failed(example, counter, failure)
    super
    output.flush
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rr-3.1.1 spec/custom_formatter_for_rspec.rb
rr-3.1.0 spec/custom_formatter_for_rspec.rb
rr-3.0.9 spec/custom_formatter_for_rspec.rb
rr-3.0.8 spec/custom_formatter_for_rspec.rb
rr-3.0.7 spec/custom_formatter_for_rspec.rb
rr-3.0.6 spec/custom_formatter_for_rspec.rb
rr-3.0.5 spec/custom_formatter_for_rspec.rb
rr-3.0.4 spec/custom_formatter_for_rspec.rb
rr-3.0.3 spec/custom_formatter_for_rspec.rb
rr-3.0.2 spec/custom_formatter_for_rspec.rb
rr-3.0.1 spec/custom_formatter_for_rspec.rb
rr-3.0.0 spec/custom_formatter_for_rspec.rb
rr-1.2.1 spec/custom_formatter_for_rspec.rb
rr-1.2.0 spec/custom_formatter_for_rspec.rb
rr-1.1.2 spec/custom_formatter_for_rspec.rb
rr-1.1.2.rc1 spec/custom_formatter_for_rspec.rb