Sha256: bb4e17ece9cc5b31d7f06c98c4711e72a771fa843cd97e0e073f28b1ab71f066

Contents?: true

Size: 619 Bytes

Versions: 5

Compression:

Stored size: 619 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
            @output.flush
          end
        end

        def dump_failure(counter, failure)
        end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-1.0.0 lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-1.0.3 lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-1.0.1 lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-1.0.2 lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-1.0.4 lib/spec/runner/formatter/failing_behaviours_formatter.rb