class RSpec::Matchers::BuiltIn::Have
def record_errors_expression(query_method)
def record_errors_expression(query_method) attribute = (@args.first || :attr) "record.errors[#{attribute.inspect}].#{String(query_method)}" end
def record_errors_expression(query_method) attribute = (@args.first || :attr) "record.errors[#{attribute.inspect}].#{String(query_method)}" end