Permalink
Browse files

Rename some tests for consistency

  • Loading branch information...
1 parent 6a016a5 commit 61073861856110b4a842a4d5e1033698fd52901f @jonleighton jonleighton committed Oct 12, 2010
@@ -54,7 +54,7 @@ class NestedHasManyThroughAssociationsTest < ActiveRecord::TestCase
# has_many through
# Source: has_many through
# Through: has_many
- def test_has_many_through_a_has_many_through_association_on_source_reflection
+ def test_has_many_through_has_many_with_has_many_through_source_reflection
author = authors(:david)
assert_equal [tags(:general), tags(:general)], author.tags
@@ -73,7 +73,7 @@ def test_has_many_through_a_has_many_through_association_on_source_reflection
# has_many through
# Source: has_many
# Through: has_many through
- def test_has_many_through_a_has_many_through_association_on_through_reflection
+ def test_has_many_through_has_many_through_with_has_many_source_reflection
author = authors(:david)
assert_equal [subscribers(:first), subscribers(:second), subscribers(:second)], author.subscribers
@@ -102,7 +102,7 @@ def test_has_many_through_has_one_with_has_one_through_source_reflection
# has_many through
# Source: has_one
# Through: has_one through
- def test_has_many_through_has_one_through
+ def test_has_many_through_has_one_through_with_has_one_source_reflection
assert_equal [sponsors(:moustache_club_sponsor_for_groucho)], members(:groucho).nested_sponsors
members = Member.joins(:nested_sponsors).where('sponsors.id' => sponsors(:moustache_club_sponsor_for_groucho).id)

0 comments on commit 6107386

Please sign in to comment.