diff options
author | Akira Matsuda <ronnie@dio.jp> | 2014-08-31 00:04:08 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2014-08-31 00:05:59 +0900 |
commit | 39f3495ebc40e867ad39c006eac08638ff41398d (patch) | |
tree | b80a81dbea08767c8f36b59418f7fdfda74e5dda /activerecord/test | |
parent | 84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4 (diff) | |
download | rails-39f3495ebc40e867ad39c006eac08638ff41398d.tar.gz rails-39f3495ebc40e867ad39c006eac08638ff41398d.tar.bz2 rails-39f3495ebc40e867ad39c006eac08638ff41398d.zip |
AR#reset_column_information sometimes queries via table_exists?
so this assertion causes random test fail
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/serialized_attribute_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |