diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-26 10:27:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-26 10:27:13 -0300 |
commit | 031588ebe6b449bcba6e3becfaff6978ba10464a (patch) | |
tree | 179a789fd65ddc4c157f6bb088002a465755e6a8 /activerecord/test/cases/connection_adapters/schema_cache_test.rb | |
parent | e8003c7274c4049f409740b587e4e9e1f3df37f7 (diff) | |
parent | d730e374ca99a60b08c75aab7b0ed8a846a34924 (diff) | |
download | rails-031588ebe6b449bcba6e3becfaff6978ba10464a.tar.gz rails-031588ebe6b449bcba6e3becfaff6978ba10464a.tar.bz2 rails-031588ebe6b449bcba6e3becfaff6978ba10464a.zip |
Merge pull request #15754 from sgrif/sg-deprecate-hmt-counter-cache
Deprecate automatic counter caches on has_many :through
Diffstat (limited to 'activerecord/test/cases/connection_adapters/schema_cache_test.rb')
-rw-r--r-- | activerecord/test/cases/connection_adapters/schema_cache_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/connection_adapters/schema_cache_test.rb b/activerecord/test/cases/connection_adapters/schema_cache_test.rb index ecad7c942f..c7531f5418 100644 --- a/activerecord/test/cases/connection_adapters/schema_cache_test.rb +++ b/activerecord/test/cases/connection_adapters/schema_cache_test.rb @@ -45,8 +45,8 @@ module ActiveRecord @cache = Marshal.load(Marshal.dump(@cache)) - assert_equal 12, @cache.columns('posts').size - assert_equal 12, @cache.columns_hash('posts').size + assert_equal 11, @cache.columns('posts').size + assert_equal 11, @cache.columns_hash('posts').size assert @cache.tables('posts') assert_equal 'id', @cache.primary_keys('posts') end |