Created
September 2, 2015 23:14
-
-
Save cyril/875dcc9f52155d528e42 to your computer and use it in GitHub Desktop.
A test for the Duck class in Ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby duck_spec.rb | |
..I | |
1. Info: undefined method `sings' for #<Duck:0x007fb60383b740> (NoMethodError). | |
Ran 3 tests in 0.00038 seconds | |
100% compliant - 1 infos, 0 failures, 0 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment