aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/relation/delegation_test.rb6
1 files changed, 1 insertions, 5 deletions
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