jasmine-headless-webkit/vendor/assets/coffeescripts/jasmine.HeadlessReporter.Console.coffee

9 lines
269 B
CoffeeScript
Raw Normal View History

2012-01-10 22:14:37 +00:00
#= require jasmine.HeadlessReporter.ConsoleBase
2011-12-12 17:22:32 +00:00
#
2012-01-10 22:14:37 +00:00
class jasmine.HeadlessReporter.Console extends jasmine.HeadlessReporter.ConsoleBase
displaySuccess: (spec) =>
this.print('.'.foreground('green'))
2011-12-12 17:22:32 +00:00
2012-01-10 22:14:37 +00:00
displayFailure: (spec) =>
this.print('F'.foreground('red'))