From aabca66efcfeb972476ea455000c17b5c96316be Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Wed, 2 Jul 2014 15:04:10 +0100 Subject: [PATCH] Remove anonymous test for Marshal as we don't use anonymous classes anymore. --- test/core_test.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/core_test.rb b/test/core_test.rb index 3ad8253b4..ef70ebd96 100644 --- a/test/core_test.rb +++ b/test/core_test.rb @@ -33,16 +33,4 @@ def model_class test "instances should have a friendly id" do with_instance_of(model_class) {|record| assert record.friendly_id} end - - test "instances can be marshaled when a relationship is used" do - transaction do - author = Author.create :name => 'Philip' - author.books.create :name => 'my book' - begin - assert Marshal.load(Marshal.dump(author)) - rescue TypeError => e - flunk(e.to_s) - end - end - end end