class RSpecApi::Matchers::Collection::Matcher

Public Instance Methods

description() click to toggle source
# File lib/rspec-api/matchers/collection/matcher.rb, line 13
def description
  %Q(be a collection)
end
matches?(response) click to toggle source
Calls superclass method
# File lib/rspec-api/matchers/collection/matcher.rb, line 8
def matches?(response)
  super
  json.is_a? Array
end