From 3704088ebde5ef074d186bff0d380858a9a01055 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 29 Aug 2006 17:06:27 +0000 Subject: has_one supports the :dependent => :delete option which skips the typical callback chain and deletes the associated object directly from the database. Closes #5927. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/inheritance_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/inheritance_test.rb') diff --git a/activerecord/test/inheritance_test.rb b/activerecord/test/inheritance_test.rb index db10e1f048..65f5d70a1f 100755 --- a/activerecord/test/inheritance_test.rb +++ b/activerecord/test/inheritance_test.rb @@ -58,7 +58,7 @@ class InheritanceTest < Test::Unit::TestCase end def test_inheritance_condition - assert_equal 8, Company.count + assert_equal 9, Company.count assert_equal 2, Firm.count assert_equal 3, Client.count end -- cgit v1.2.3