Skip to content

Commit 195c5c4

Browse files
committed
add 6-1 marshal fixture
Files where generated by running the following spec in 6-1-stable branch: ``` class MarshalSerializationTest < ActiveRecord::TestCase fixtures :topics def test_deserializing_rails_6_0_marshal_basic File.binwrite(marshal_fixture_path("rails_6_1_topic"), Marshal.dump(Topic.find(1))) topic = Topic.find(1) topic.replies File.binwrite(marshal_fixture_path("rails_6_1_topic_associations"), Marshal.dump(topic)) end private def marshal_fixture_path(file_name) File.expand_path( "support/marshal_compatibility_fixtures/#{ActiveRecord::Base.connection.adapter_name}/#{file_name}.dump", ARTest::SQLServer.test_root_sqlserver ) end end ```
1 parent 0fc3c40 commit 195c5c4

File tree

2 files changed

+0
-0
lines changed

2 files changed

+0
-0
lines changed
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)