For example: collection.should all_be > 0 will specify that each element of the collection should be greater than zero. Each element of the collection that fails the test will be reported in the error message.
Required Ruby Version
None
Authors
Jim Weirich
Versions
- 2.0.0 October 12, 2010 (8 KB)