Module: RSpecApi::Matchers::Collection
- Included in:
- RSpecApi::Matchers
- Defined in:
- lib/rspec-api/matchers/collection/matcher.rb,
lib/rspec-api/matchers/collection/be_a_collection.rb
Defined Under Namespace
Classes: Matcher
Instance Method Summary collapse
-
#be_a_collection ⇒ Object
Passes if the object has a collection of JSON objects in the body.
Instance Method Details
#be_a_collection ⇒ Object
Passes if the object has a collection of JSON objects in the body.
22 23 24 |
# File 'lib/rspec-api/matchers/collection/be_a_collection.rb', line 22 def be_a_collection RSpecApi::Matchers::Collection::Matcher.new end |