Sha256: 17fc19dbcdb60eeaf71524dabf771732a69c4781605f34bffa4bf668fb44ed3a
Contents?: true
Size: 347 Bytes
Versions: 16
Compression:
Stored size: 347 Bytes
Contents
require "rails_helper" describe Car, type: :model do it { is_expected.to be_versioned } describe "changeset", versioning: true do it "has the expected keys (see issue 738)" do car = Car.create!(name: "Alice") car.update_attributes(name: "Bob") assert_includes car.versions.last.changeset.keys, "name" end end end
Version data entries
16 entries across 15 versions & 2 rubygems