From 39f3495ebc40e867ad39c006eac08638ff41398d Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sun, 31 Aug 2014 00:04:08 +0900 Subject: AR#reset_column_information sometimes queries via table_exists? so this assertion causes random test fail --- activerecord/test/cases/serialized_attribute_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test') diff --git a/activerecord/test/cases/serialized_attribute_test.rb b/activerecord/test/cases/serialized_attribute_test.rb index f8d87a3661..c5fb491b10 100644 --- a/activerecord/test/cases/serialized_attribute_test.rb +++ b/activerecord/test/cases/serialized_attribute_test.rb @@ -16,8 +16,8 @@ class SerializedAttributeTest < ActiveRecord::TestCase end def test_serialize_does_not_eagerly_load_columns + Topic.reset_column_information assert_no_queries do - Topic.reset_column_information Topic.serialize(:content) end end -- cgit v1.2.3