提交 b0d5892f 编写于 作者: R Ryuta Kamizono

Remove unnecessary fixture loading

上级 906c1d8f
......@@ -40,10 +40,8 @@ class DelegationAssociationTest < ActiveRecord::TestCase
include DelegationWhitelistTests
include DeprecatedArelDelegationTests
fixtures :posts
def target
Post.first.comments
Post.new.comments
end
end
......@@ -51,8 +49,6 @@ class DelegationRelationTest < ActiveRecord::TestCase
include DelegationWhitelistTests
include DeprecatedArelDelegationTests
fixtures :comments
def target
Comment.all
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册