lib/audited/rspec_matchers.rb in audited-4.5.0 vs lib/audited/rspec_matchers.rb in audited-4.6.0

- old
+ new

@@ -115,10 +115,10 @@ else except = model_class.default_ignored_attributes + Audited.ignored_attributes except |= @options[:except].collect(&:to_s) if @options[:except] end - expects "non audited columns (#{model_class.non_audited_columns.inspect}) to match (#{expect})" + expects "non audited columns (#{model_class.non_audited_columns.inspect}) to match (#{except})" model_class.non_audited_columns =~ except else true end end