RubyGems.org

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.

installgem install rspec-collection
Authors

Jim Weirich

1,365 total downloads 1,365 for this version
Owners

B2e519cf5d98262296c37f3d01cb1cf0

Gemfile
gem 'rspec-collection', '~> 2.0.0'
Versions
  1. 2.0.0 October 12, 2010 (8 KB)
Runtime Dependencies
  1. rspec-core >= 2.0.0