Created
September 18, 2011 03:11
-
-
Save darkhelmet/1224675 to your computer and use it in GitHub Desktop.
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
| Block | |
| should return from the closure | |
| should ignore extra arguments | |
| should not care if not enough parameters are passed | |
| should set unpassed parameters to `nil` | |
| should accept *args | |
| Lambda | |
| should return from the lambda | |
| should whine about too many arguments | |
| should whine about too few arguments | |
| should accept *args | |
| should be a lambda | |
| Proc | |
| should return from the closure | |
| should ignore extra arguments | |
| should not care if not enough parameters are passed | |
| should set unpassed parameters to `nil` | |
| should accept *args | |
| should not be a lambda | |
| should be a proc when `proc` is used | |
| Stabby | |
| should return from the stabby | |
| should whine about too many arguments | |
| should whine about too few arguments | |
| should accept *args | |
| should be a lambda | |
| Finished in 0.01227 seconds | |
| 22 examples, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment