7f5deeeee6
Example failure: https://buildkite.com/rails/rails/builds/68661#84f8790a-fc9e-42ef-a7fb-5bd15a489de8/1002-1012 The failing `destroyed_by_association` tests create an author (a DestroyByParentAuthor) and a book (a DestroyByParentBook) that belongs to that author. If the database already contains books that refer to that author's ID from previous tests (i.e. tests that disabled `use_transactional_tests`), then one of those books will be loaded and destroyed instead of the intended DestroyByParentBook book. By loading the `:books` fixtures, we ensure the database does not contain such unexpected books. Co-authored-by: Eugene Kenny <elkenny@gmail.com> Co-authored-by: Ryuta Kamizono <kamipo@gmail.com> |
||
---|---|---|
.. | ||
belongs_to_associations_test.rb | ||
bidirectional_destroy_dependencies_test.rb | ||
callbacks_test.rb | ||
cascaded_eager_loading_test.rb | ||
eager_load_includes_full_sti_class_test.rb | ||
eager_load_nested_include_test.rb | ||
eager_singularization_test.rb | ||
eager_test.rb | ||
extension_test.rb | ||
has_and_belongs_to_many_associations_test.rb | ||
has_many_associations_test.rb | ||
has_many_through_associations_test.rb | ||
has_one_associations_test.rb | ||
has_one_through_associations_test.rb | ||
inner_join_association_test.rb | ||
inverse_associations_test.rb | ||
join_model_test.rb | ||
left_outer_join_association_test.rb | ||
nested_through_associations_test.rb | ||
required_test.rb |