Merge pull request #43873 from yahonda/fix43872

Add missing :author_addresses in `PreloaderTest`
This commit is contained in:
Rafael Mendonça França 2021-12-15 15:52:10 -05:00 committed by GitHub
commit c46d3a217c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ class OverridingAssociationsTest < ActiveRecord::TestCase
end end
class PreloaderTest < ActiveRecord::TestCase class PreloaderTest < ActiveRecord::TestCase
fixtures :posts, :comments, :books, :authors, :tags, :taggings, :essays, :categories fixtures :posts, :comments, :books, :authors, :tags, :taggings, :essays, :categories, :author_addresses
def test_preload_with_scope def test_preload_with_scope
post = posts(:welcome) post = posts(:welcome)