From 48b10134a55724958d464a0bca3f1857a8b4a814 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Mon, 11 Nov 2013 19:43:34 +0900 Subject: Load test fixtures where data are needed Without this, some tests here were not actually testing anything. --- activerecord/test/cases/relation/delegation_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/test/cases/relation/delegation_test.rb') diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 7440bdad43..1b60c97b51 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -61,6 +61,8 @@ module ActiveRecord end class DelegationRelationTest < DelegationTest + fixtures :comments + def target Comment.where.not(body: nil) end -- cgit v1.2.3