Sha256: b6eb361fee084c9bae07a31a5e472db2fc49a99172f137345e643b23ad10d0eb

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

module Spec
  module Runner
    class SpecdocFormatter < BaseTextFormatter      
      def add_context(name, first)
        @output << "\n#{name}\n"
      end
      
      def spec_failed(name, counter, failure)
        @output << "- #{name} (FAILED - #{counter})\n"
      end
      
      def spec_passed(name)
        @output << "- #{name}\n"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-0.5.10 lib/spec/runner/specdoc_formatter.rb
rspec-0.5.11 lib/spec/runner/specdoc_formatter.rb
rspec-0.5.8 lib/spec/runner/specdoc_formatter.rb
rspec-0.5.9 lib/spec/runner/specdoc_formatter.rb