From a2f0ae76d140236e89e73ac87f79934a65d688ed Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 23 Oct 2005 19:02:38 +0000 Subject: r2718@asus: jeremy | 2005-10-23 14:45:30 -0700 Ticket 2404 - fixture delete order r2719@asus: jeremy | 2005-10-23 15:01:13 -0700 Keep closer tabs on dirty, loaded, and declared fixtures. Closes #2404. r2720@asus: jeremy | 2005-10-23 16:09:19 -0700 ensure table names are strings. set dirty = dirty union loaded rather than dirty = loaded. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/conditions_scoping_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activerecord/test/conditions_scoping_test.rb') diff --git a/activerecord/test/conditions_scoping_test.rb b/activerecord/test/conditions_scoping_test.rb index bf6ddc52d1..4fc9aad64e 100644 --- a/activerecord/test/conditions_scoping_test.rb +++ b/activerecord/test/conditions_scoping_test.rb @@ -69,7 +69,7 @@ end class HasAndBelongsToManyScopingTest< Test::Unit::TestCase - fixtures :posts, :categories + fixtures :posts, :categories, :categories_posts def setup @welcome = Post.find(1) @@ -85,7 +85,6 @@ class HasAndBelongsToManyScopingTest< Test::Unit::TestCase assert_equal 0, @welcome.categories.find_all_by_type('SpecialCategory').size assert_equal 2, @welcome.categories.find_all_by_type('Category').size end - end -- cgit v1.2.3