class DynportTools::HaveAttributesMatcher::HaveOneWithAttributes

Public Instance Methods

failure_message() click to toggle source
# File lib/dynport_tools/have_attributes.rb, line 52
def failure_message
  "expected to have one record with attributes #{@expected.inspect}"
end
matches?(target) click to toggle source
# File lib/dynport_tools/have_attributes.rb, line 46
def matches?(target)
  target.any? do |record|
    super(record)
  end
end