aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-08-11 17:51:16 -0400
committerGitHub <noreply@github.com>2017-08-11 17:51:16 -0400
commit7e395bfeb457a549268774acbd9f7f397353e04e (patch)
tree78d4e331c048e2a4aba2b270840609fca13617d8 /activerecord/test
parent84b6212a4ccdd4b5d6f1bc2f716e274738bb9d83 (diff)
parent5320bbf5b83f4e2f9d6093e5d8cea02897c436de (diff)
downloadrails-7e395bfeb457a549268774acbd9f7f397353e04e.tar.gz
rails-7e395bfeb457a549268774acbd9f7f397353e04e.tar.bz2
rails-7e395bfeb457a549268774acbd9f7f397353e04e.zip
Merge pull request #30103 from yahonda/has_one_associations_failures
Add `:authors` to address random failures at HasOneAssociationsTest
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/has_one_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_one_associations_test.rb b/activerecord/test/cases/associations/has_one_associations_test.rb
index 2eb6cef1d9..fdb98d84e0 100644
--- a/activerecord/test/cases/associations/has_one_associations_test.rb
+++ b/activerecord/test/cases/associations/has_one_associations_test.rb
@@ -15,7 +15,7 @@ require "models/post"
class HasOneAssociationsTest < ActiveRecord::TestCase
self.use_transactional_tests = false unless supports_savepoints?
- fixtures :accounts, :companies, :developers, :projects, :developers_projects, :ships, :pirates
+ fixtures :accounts, :companies, :developers, :projects, :developers_projects, :ships, :pirates, :authors
def setup
Account.destroyed_account_ids.clear