From b0d5892ff4068617437c661cb77e84356d2f575f Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 24 Aug 2017 21:00:00 +0900 Subject: Remove unnecessary fixture loading --- activerecord/test/cases/relation/delegation_test.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'activerecord') diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 3089aee959..8ffb9f163b 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -40,10 +40,8 @@ module ActiveRecord include DelegationWhitelistTests include DeprecatedArelDelegationTests - fixtures :posts - def target - Post.first.comments + Post.new.comments end end @@ -51,8 +49,6 @@ module ActiveRecord include DelegationWhitelistTests include DeprecatedArelDelegationTests - fixtures :comments - def target Comment.all end -- cgit v1.2.3