diff --git a/activerecord/test/cases/associations/has_many_through_disable_joins_associations_test.rb b/activerecord/test/cases/associations/has_many_through_disable_joins_associations_test.rb index 578bd9a8e1..cb8f188a8e 100644 --- a/activerecord/test/cases/associations/has_many_through_disable_joins_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_through_disable_joins_associations_test.rb @@ -17,7 +17,7 @@ require "models/hotel" require "models/department" class HasManyThroughDisableJoinsAssociationsTest < ActiveRecord::TestCase - fixtures :posts, :authors, :comments, :pirates + fixtures :posts, :authors, :comments, :pirates, :author_addresses def setup @author = authors(:mary) diff --git a/activerecord/test/cases/relation/and_test.rb b/activerecord/test/cases/relation/and_test.rb index 47db861344..ac1a5ed77f 100644 --- a/activerecord/test/cases/relation/and_test.rb +++ b/activerecord/test/cases/relation/and_test.rb @@ -5,7 +5,7 @@ require "models/author" module ActiveRecord class AndTest < ActiveRecord::TestCase - fixtures :authors + fixtures :authors, :author_addresses def test_and david, mary, bob = authors(:david, :mary, :bob) diff --git a/activerecord/test/cases/relation/where_chain_test.rb b/activerecord/test/cases/relation/where_chain_test.rb index 23599ba4cc..eb2fc72cc0 100644 --- a/activerecord/test/cases/relation/where_chain_test.rb +++ b/activerecord/test/cases/relation/where_chain_test.rb @@ -10,7 +10,7 @@ require "models/categorization" module ActiveRecord class WhereChainTest < ActiveRecord::TestCase - fixtures :posts, :comments, :authors, :humans, :essays + fixtures :posts, :comments, :authors, :humans, :essays, :author_addresses def test_associated_with_association Post.where.associated(:author).tap do |relation|