method
not_a_collection
1.2.0 -
Show latest stable
- Class:
Spec::Matchers::Have
not_a_collection()public
No documentation available.
# File lib/spec/matchers/have.rb, line 35
def not_a_collection
"expected #{@collection_name} to be a collection but it does not respond to #length or #size"
end