rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Created dumps for marshal tests #1100

Closed aidanharan closed 9 months ago

aidanharan commented 9 months ago

Create dumps for the MarshalSerializationTest tests. This fixes the MarshalSerializationTest#test_deserializing_rails_7_1_marshal_basic test. However, both these tests with associations are still failing:

Created the dumps using the following (see https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/980 for more info):

File.binwrite(marshal_fixture_path("rails_7_1_topic"), Marshal.dump(Topic.find(1))) 
topic = Topic.find(1)

topic.replies
File.binwrite(marshal_fixture_path("rails_7_1_topic_associations"), Marshal.dump(topic))