lib/audited/rspec_matchers.rb in audited-5.0.2 vs lib/audited/rspec_matchers.rb in audited-5.1.0

- old
+ new

@@ -219,10 +219,10 @@ end def association_exists? !reflection.nil? && reflection.macro == :has_many && - reflection.options[:class_name] == Audited.audit_class.name + reflection.options[:class_name] == Audited.audit_model.name end end end end