Sha256: 5011ca68d81045c76424b7afb48528f3dabae19e153644c2942149f8186cd077
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
# encoding: utf-8 module Teaspoon module Formatters class SnowdayFormatter < DotFormatter 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
teaspoon-0.9.1 | lib/teaspoon/formatters/snowday_formatter.rb |
teaspoon-0.9.0 | lib/teaspoon/formatters/snowday_formatter.rb |