From 79e85edd71a4c886b1ac074988963588d8c45755 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 1 Dec 2004 12:25:04 +0000 Subject: Added reverse order of deleting fixtures, so referential keys can be maintained #247 [Tim Bates] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@38 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 cb3d1aec8a..b5a3c6355d 100755 --- a/activerecord/test/deprecated_associations_test.rb +++ b/activerecord/test/deprecated_associations_test.rb @@ -18,7 +18,7 @@ raise "ActiveRecord should have barked on bad collection keys" unless bad_collec class DeprecatedAssociationsTest < Test::Unit::TestCase def setup - create_fixtures "accounts", "companies", "accounts", "developers", "projects", "developers_projects", "topics" + create_fixtures "accounts", "companies", "developers", "projects", "developers_projects", "topics" @signals37 = Firm.find(1) end @@ -332,4 +332,4 @@ class DeprecatedAssociationsTest < Test::Unit::TestCase assert_equal 2, Firm.find_first.find_all_in_clients("type = 'Client'").length assert_equal 1, Firm.find_first.find_all_in_clients("name = 'Summit'").length end -end \ No newline at end of file +end -- cgit v1.2.3