aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-08 09:29:38 -0400
committerJosé Valim <jose.valim@gmail.com>2010-07-08 18:02:07 +0200
commit723a0bbe3a8737a099cd995a397b919b1957413d (patch)
tree07157f53ef40a1b319e0678475d2b0de67e58bc0 /activerecord
parentbf5d15456757e63598575db42917d702af9da729 (diff)
downloadrails-723a0bbe3a8737a099cd995a397b919b1957413d.tar.gz
rails-723a0bbe3a8737a099cd995a397b919b1957413d.tar.bz2
rails-723a0bbe3a8737a099cd995a397b919b1957413d.zip
This test never runs and it has never run. Since the day this file
was created this test has name not beginning with test_. Also this test is trying to use has_many on another has_many which is not supported. Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/has_one_through_associations_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/associations/has_one_through_associations_test.rb b/activerecord/test/cases/associations/has_one_through_associations_test.rb
index 9aef3eb374..178c57435b 100644
--- a/activerecord/test/cases/associations/has_one_through_associations_test.rb
+++ b/activerecord/test/cases/associations/has_one_through_associations_test.rb
@@ -65,10 +65,6 @@ class HasOneThroughAssociationsTest < ActiveRecord::TestCase
assert_equal clubs(:moustache_club), @member.sponsor_club
end
- def has_one_through_to_has_many
- assert_equal 2, @member.fellow_members.size
- end
-
def test_has_one_through_eager_loading
members = assert_queries(3) do #base table, through table, clubs table
Member.find(:all, :include => :club, :conditions => ["name = ?", "Groucho Marx"])