Sha256: 4a1044828c207a667b018bb1a7bdd996cf7abbcf39975a20bcb356dd759c6a78

Contents?: true

Size: 323 Bytes

Versions: 9

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8
require "teaspoon/formatter/dot"

module Teaspoon
  module Formatter
    class Snowday < Dot
      protected

      def log_spec(result)
        return log_str("☃", CYAN) if result.passing?
        return log_str("☹", YELLOW) if result.pending?
        log_str("☠", RED)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
teaspoon-1.1.5 lib/teaspoon/formatter/snowday.rb
teaspoon-1.1.4 lib/teaspoon/formatter/snowday.rb
teaspoon-1.1.3 lib/teaspoon/formatter/snowday.rb
teaspoon-1.1.2 lib/teaspoon/formatter/snowday.rb
teaspoon-1.1.1 lib/teaspoon/formatter/snowday.rb
teaspoon-1.1.0 lib/teaspoon/formatter/snowday.rb
teaspoon-1.0.2 lib/teaspoon/formatter/snowday.rb
teaspoon-1.0.1 lib/teaspoon/formatter/snowday.rb
teaspoon-1.0.0 lib/teaspoon/formatter/snowday.rb