aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-04-27 00:27:19 -0700
committerGitHub <noreply@github.com>2017-04-27 00:27:19 -0700
commit5974334aeb23c21100af5bf877b385dbbe762bc6 (patch)
treeb5637d0f48aae2de21bb7c5f790223aefa1eb2ba /activerecord/test/cases/associations/has_many_associations_test.rb
parent28cd12c3454338450c6a505ae9997380065367c8 (diff)
parent86e74a083a2412676eb18b634d4623b0b76d1d79 (diff)
downloadrails-5974334aeb23c21100af5bf877b385dbbe762bc6.tar.gz
rails-5974334aeb23c21100af5bf877b385dbbe762bc6.tar.bz2
rails-5974334aeb23c21100af5bf877b385dbbe762bc6.zip
Merge pull request #28899 from kamipo/restore_fixture_author_addresses
Restore `fixtures :author_addresses`
Diffstat (limited to 'activerecord/test/cases/associations/has_many_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index 1eb10c1dbe..6a479a344c 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -40,7 +40,7 @@ require "models/zine"
require "models/interest"
class HasManyAssociationsTestForReorderWithJoinDependency < ActiveRecord::TestCase
- fixtures :authors, :posts, :comments
+ fixtures :authors, :author_addresses, :posts, :comments
def test_should_generate_valid_sql
author = authors(:david)
@@ -51,7 +51,7 @@ class HasManyAssociationsTestForReorderWithJoinDependency < ActiveRecord::TestCa
end
class HasManyAssociationsTestPrimaryKeys < ActiveRecord::TestCase
- fixtures :authors, :essays, :subscribers, :subscriptions, :people
+ fixtures :authors, :author_addresses, :essays, :subscribers, :subscriptions, :people
def test_custom_primary_key_on_new_record_should_fetch_with_query
subscriber = Subscriber.new(nick: "webster132")
@@ -100,7 +100,7 @@ end
class HasManyAssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :categories, :companies, :developers, :projects,
- :developers_projects, :topics, :authors, :comments,
+ :developers_projects, :topics, :authors, :author_addresses, :comments,
:posts, :readers, :taggings, :cars, :jobs, :tags,
:categorizations, :zines, :interests