aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-03 16:22:42 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-03 16:22:42 -0800
commita299fcaef90741090c5719d0569715c209149a59 (patch)
tree74a437879db4a89e9cb3e55e9175eae43efa3ba7
parentd21f38aaa204ee8df81bd34a6dad3d6de8ad63d9 (diff)
downloadrails-a299fcaef90741090c5719d0569715c209149a59.tar.gz
rails-a299fcaef90741090c5719d0569715c209149a59.tar.bz2
rails-a299fcaef90741090c5719d0569715c209149a59.zip
not a responsibility for rails to test
-rw-r--r--activerecord/test/cases/associations/join_model_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/test/cases/associations/join_model_test.rb b/activerecord/test/cases/associations/join_model_test.rb
index 1ece961d2e..4581cb1acd 100644
--- a/activerecord/test/cases/associations/join_model_test.rb
+++ b/activerecord/test/cases/associations/join_model_test.rb
@@ -44,16 +44,6 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase
assert !authors(:mary).unique_categorized_posts.loaded?
end
- def test_column_caching
- # pre-heat our cache
- Post.arel_table.columns
- Comment.columns
-
- Post.connection.column_calls = 0
- 2.times { Post.joins(:comments).to_a }
- assert_equal 0, Post.connection.column_calls
- end
-
def test_has_many_uniq_through_find
assert_equal 1, authors(:mary).unique_categorized_posts.find(:all).size
end