Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit b2e85582a9bf01f8c82f7d34f097042a1eaee2fa 1 parent f60cb5d
Ernesto emig authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/test_align_centaur.rb
6 lib/test_align_centaur.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.