lib/teaspoon/formatter/snowday.rb in teaspoon-1.1.5 vs lib/teaspoon/formatter/snowday.rb in teaspoon-1.2.0
- old
+ new
@@ -1,16 +1,17 @@
# 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
+ 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