Update the marshalized object fixtures' version from 6.0 to 6.1

It is a blocker to remove no-op constants in the main branch.
This commit is contained in:
Ryuta Kamizono 2021-02-18 16:55:27 +09:00
parent 37303ea499
commit eabf569d3e
13 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ require "models/reply"
class MarshalSerializationTest < ActiveRecord::TestCase
fixtures :topics
def test_deserializing_rails_6_0_marshal_basic
topic = Marshal.load(marshal_fixture("rails_6_0_topic"))
def test_deserializing_rails_6_1_marshal_basic
topic = Marshal.load(marshal_fixture("rails_6_1_topic"))
assert_not_predicate topic, :new_record?
assert_equal 1, topic.id
@ -16,8 +16,8 @@ class MarshalSerializationTest < ActiveRecord::TestCase
assert_equal "Have a nice day", topic.content
end
def test_deserializing_rails_6_0_marshal_with_loaded_association_cache
topic = Marshal.load(marshal_fixture("rails_6_0_topic_associations"))
def test_deserializing_rails_6_1_marshal_with_loaded_association_cache
topic = Marshal.load(marshal_fixture("rails_6_1_topic_associations"))
assert_not_predicate topic, :new_record?
assert_equal 1, topic.id