aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/conditions_scoping_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/conditions_scoping_test.rb')
-rw-r--r--activerecord/test/conditions_scoping_test.rb3
1 files changed, 1 insertions, 2 deletions
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