Permalink
Browse files

update deprecated rspec methods

The following conceptual abstractions are applied to rspec methods names
green -> success_color, red -> failure_color, yellow -> pending_color;
Couldn't see the centaur anymore with all this warnings.
  • Loading branch information...
1 parent f60cb5d commit b2e85582a9bf01f8c82f7d34f097042a1eaee2fa @emig emig committed May 10, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/test_align_centaur.rb
@@ -18,17 +18,17 @@ def print(arg)
def example_passed(example)
super(example)
- print green('.')
+ print success_color('.')
end
def example_pending(example)
super(example)
- print yellow('*')
+ print pending_color('*')
end
def example_failed(example)
super(example)
- print red('F')
+ print failure_color('F')
end
def start_dump

0 comments on commit b2e8558

Please sign in to comment.