diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-13 01:29:09 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-13 01:29:09 +0100 |
commit | 781ad0f8fee209bcf10c5e52daae246477d49ea7 (patch) | |
tree | c4b1c714f96bd2e29079bb59f7ee848e4ec9915b /activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb | |
parent | 199db8c8c006a5f3bcbbe2a32d39444a741c5843 (diff) | |
download | rails-781ad0f8fee209bcf10c5e52daae246477d49ea7.tar.gz rails-781ad0f8fee209bcf10c5e52daae246477d49ea7.tar.bz2 rails-781ad0f8fee209bcf10c5e52daae246477d49ea7.zip |
First bit of support for habtm in through assocs - test_has_many_through_has_many_with_has_and_belongs_to_many_source_reflection now passes
Diffstat (limited to 'activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb index e67cbcc1a8..c6777d0cb3 100644 --- a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb @@ -719,7 +719,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase def test_find_scoped_grouped assert_equal 5, categories(:general).posts_grouped_by_title.size - assert_equal 2, categories(:technology).posts_grouped_by_title.size + assert_equal 1, categories(:technology).posts_grouped_by_title.size end def test_find_scoped_grouped_having |