spec/audited/audit_spec.rb in audited-5.1.0 vs spec/audited/audit_spec.rb in audited-5.2.0
- old
+ new
@@ -60,10 +60,10 @@
end
end
end
describe "#audited_changes" do
- let(:audit) { Audited.audit_model.new }
+ let(:audit) { Audited.audit_class.new }
it "can unserialize yaml from text columns" do
audit.audited_changes = {foo: "bar"}
expect(audit.audited_changes).to eq foo: "bar"
end