aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/inverse_associations_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-23 09:27:09 +0900
committerGitHub <noreply@github.com>2017-08-23 09:27:09 +0900
commit6655f1e54097350d893acf2032a4aaf9957f137b (patch)
tree42c8a14700764fcee847f68d447d92ec628d5b37 /activerecord/test/cases/associations/inverse_associations_test.rb
parent80ccfec0740a32fa3a8c0d52549e5b7c59db1a02 (diff)
parent43c6a683f2caad47b87c5d6a263865cd0db6174f (diff)
downloadrails-6655f1e54097350d893acf2032a4aaf9957f137b.tar.gz
rails-6655f1e54097350d893acf2032a4aaf9957f137b.tar.bz2
rails-6655f1e54097350d893acf2032a4aaf9957f137b.zip
Merge pull request #28991 from yahonda/load_authors_and_author_addresses
Load :author_addresses fixture to keep data integrity with :authors
Diffstat (limited to 'activerecord/test/cases/associations/inverse_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/inverse_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb
index 86a034b429..e13cf93dcf 100644
--- a/activerecord/test/cases/associations/inverse_associations_test.rb
+++ b/activerecord/test/cases/associations/inverse_associations_test.rb
@@ -283,7 +283,7 @@ class InverseHasOneTests < ActiveRecord::TestCase
end
class InverseHasManyTests < ActiveRecord::TestCase
- fixtures :men, :interests, :posts, :authors
+ fixtures :men, :interests, :posts, :authors, :author_addresses
def test_parent_instance_should_be_shared_with_every_child_on_find
m = men(:gordon)