aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorgregolsen <anotheroneman@yahoo.com>2012-01-31 15:57:39 +0200
committergregolsen <anotheroneman@yahoo.com>2012-01-31 15:57:39 +0200
commit58cd0085a93fb8f65bffbbe0aceebae6342e59c2 (patch)
treec677bdff31b2e0caf09d34288b85db017396fe9b /activerecord/test/cases
parent98e1735d1d622ad07a8441df4eb280d7a8e96a05 (diff)
downloadrails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.tar.gz
rails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.tar.bz2
rails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.zip
reflection test fixed
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/reflection_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/reflection_test.rb b/activerecord/test/cases/reflection_test.rb
index 297fb56570..16f05f2198 100644
--- a/activerecord/test/cases/reflection_test.rb
+++ b/activerecord/test/cases/reflection_test.rb
@@ -189,8 +189,8 @@ class ReflectionTest < ActiveRecord::TestCase
def test_reflection_of_all_associations
# FIXME these assertions bust a lot
- assert_equal 38, Firm.reflect_on_all_associations.size
- assert_equal 28, Firm.reflect_on_all_associations(:has_many).size
+ assert_equal 39, Firm.reflect_on_all_associations.size
+ assert_equal 29, Firm.reflect_on_all_associations(:has_many).size
assert_equal 10, Firm.reflect_on_all_associations(:has_one).size
assert_equal 0, Firm.reflect_on_all_associations(:belongs_to).size
end