From a0c459bca7a22b6c62760ef213147475823dcea0 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Thu, 16 Mar 2006 03:24:40 +0000 Subject: fix test_find_in_association_with_options test, tweak other tests affected by developer/project addition git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/deprecated_associations_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/deprecated_associations_test.rb') diff --git a/activerecord/test/deprecated_associations_test.rb b/activerecord/test/deprecated_associations_test.rb index 5772ab1335..d3abe145ed 100755 --- a/activerecord/test/deprecated_associations_test.rb +++ b/activerecord/test/deprecated_associations_test.rb @@ -181,7 +181,7 @@ class DeprecatedAssociationsTest < Test::Unit::TestCase active_record = Project.find(1) assert active_record.has_developers? - assert_equal 2, active_record.developers_count + assert_equal 3, active_record.developers_count assert active_record.developers.include?(david) end @@ -192,7 +192,7 @@ class DeprecatedAssociationsTest < Test::Unit::TestCase david.remove_projects(active_record) assert_equal 1, david.projects_count - assert_equal 1, active_record.developers_count + assert_equal 2, active_record.developers_count end def test_has_and_belongs_to_many_zero -- cgit v1.2.3