Sha256: 9c5a70b52cff4fd9e37d2a70981c57bd9d1f113f99c18f2fb26e1e3f1b933ef7

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 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

4 entries across 4 versions & 2 rubygems

Version Path
has_finder-0.1.1 spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/failing_behaviours_formatter.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/failing_behaviours_formatter.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/failing_behaviours_formatter.rb
rspec-1.0.5 lib/spec/runner/formatter/failing_behaviours_formatter.rb