aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations/callbacks_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-12-22 11:26:03 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-12-22 11:26:03 +0000
commit8b5f4e474f30560da85f52dd64dc3b45d0338b93 (patch)
tree0ba6fdc63093d9cc5549498d9f62238bea80a4cf /activerecord/test/associations/callbacks_test.rb
parentdc901ced448179d9dfec924e22d8444b1a75265c (diff)
downloadrails-8b5f4e474f30560da85f52dd64dc3b45d0338b93.tar.gz
rails-8b5f4e474f30560da85f52dd64dc3b45d0338b93.tar.bz2
rails-8b5f4e474f30560da85f52dd64dc3b45d0338b93.zip
Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance vars
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations/callbacks_test.rb')
-rw-r--r--activerecord/test/associations/callbacks_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/associations/callbacks_test.rb b/activerecord/test/associations/callbacks_test.rb
index 4b6b7f4123..6df8718e28 100644
--- a/activerecord/test/associations/callbacks_test.rb
+++ b/activerecord/test/associations/callbacks_test.rb
@@ -128,7 +128,7 @@ class AssociationCallbacksTest < Test::Unit::TestCase
callback_log = ["before_adding<new>", "after_adding<new>"]
assert_equal callback_log, project.developers_log
assert project.save
- assert_equal 1, project.developers_with_callbacks.count
+ assert_equal 1, project.developers_with_callbacks.size
assert_equal callback_log, project.developers_log
end