class Audited::RspecMatchers::AssociatedAuditMatcher

def association_exists?

def association_exists?
  !reflection.nil? &&
    reflection.macro == :has_many &&
    reflection.options[:class_name] == Audited.audit_class.name
end