Skip to content

Instantly share code, notes, and snippets.

@makimoto
Created October 15, 2010 03:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makimoto/627544 to your computer and use it in GitHub Desktop.
Save makimoto/627544 to your computer and use it in GitHub Desktop.
diff -x .git -Naru rspec.orig/lib/spec/runner/formatter/progress_bar_formatter.rb rspec/lib/spec/runner/formatter/progress_bar_formatter.rb
--- rspec.orig/lib/spec/runner/formatter/progress_bar_formatter.rb 2010-10-15 11:55:45.000000000 +0900
+++ rspec/lib/spec/runner/formatter/progress_bar_formatter.rb 2010-10-15 11:52:21.000000000 +0900
@@ -8,18 +8,18 @@
include NOOPMethodMissing
def example_failed(example, counter, failure)
- @output.print colorize_failure('F', failure)
+ @output.print colorize_failure('\(^o^)/', failure)
@output.flush
end
def example_passed(example)
- @output.print green('.')
+ @output.print green('/(\'.\')\\')
@output.flush
end
def example_pending(example, message, deprecated_pending_location=nil)
super
- @output.print yellow('*')
+ @output.print yellow('-(-_-)-')
@output.flush
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment