Sha256: 7de7157a0a7cf68c75e2f7cf5dc4f31278b630f79f0293524d37ed34ce4bfe89

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

module Spec
  module Runner
    module Formatter
      class FailingBehavioursFormatter < BaseTextFormatter      
        def add_behaviour(behaviour_name)
          @behaviour_name = behaviour_name
        end
      
        def example_failed(name, counter, failure)
          unless @behaviour_name.nil?
            @output.puts @behaviour_name 
            @behaviour_name = nil
          end
        end

        def dump_failure(counter, failure)
        end

        def dump_summary(duration, example_count, failure_count)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-0.9.2 lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-0.9.3 lib/spec/runner/formatter/failing_behaviours_formatter.rb