diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-16 03:24:40 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-16 03:24:40 +0000 |
commit | a0c459bca7a22b6c62760ef213147475823dcea0 (patch) | |
tree | ebd0c101e6d2b616355a010c8499ba7549d5845f /activerecord/test/deprecated_associations_test.rb | |
parent | 9b9a0908e5a834d981bd095099d9cefc3abdb226 (diff) | |
download | rails-a0c459bca7a22b6c62760ef213147475823dcea0.tar.gz rails-a0c459bca7a22b6c62760ef213147475823dcea0.tar.bz2 rails-a0c459bca7a22b6c62760ef213147475823dcea0.zip |
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
Diffstat (limited to 'activerecord/test/deprecated_associations_test.rb')
-rwxr-xr-x | activerecord/test/deprecated_associations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |