Sha256: acc0649dda5adfbdc555d5b9350562320113bba90d826e46cbcbffcbde3a1d49

Contents?: true

Size: 582 Bytes

Versions: 195

Compression:

Stored size: 582 Bytes

Contents

require 'rspec/core/formatters/base_text_formatter'
module RSpec
  module Core
    module Formatters

      class ProgressFormatter < BaseTextFormatter

        def example_passed(example)
          super(example)
          output.print green('.')
        end

        def example_pending(example)
          super(example)
          output.print yellow('*')
        end

        def example_failed(example)
          super(example)
          output.print red('F')
        end

        def start_dump
          super()
          output.puts
        end

      end

    end
  end
end

Version data entries

195 entries across 140 versions & 18 rubygems

Version Path
classiccms-0.4.1 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.4.1 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.4.0 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.4.0 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.9 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.9 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.1/lib/rspec/core/formatters/progress_formatter.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.8 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.8 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb