diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-24 21:00:00 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-24 21:00:00 +0900 |
commit | b0d5892ff4068617437c661cb77e84356d2f575f (patch) | |
tree | df97df11b158ead19ae979f1027862c065d10dad /activerecord | |
parent | 906c1d8f59a4c37c8e3e2efe9f6f594aeb597d69 (diff) | |
download | rails-b0d5892ff4068617437c661cb77e84356d2f575f.tar.gz rails-b0d5892ff4068617437c661cb77e84356d2f575f.tar.bz2 rails-b0d5892ff4068617437c661cb77e84356d2f575f.zip |
Remove unnecessary fixture loading
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 6 |
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 |