aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2016-03-07 15:28:44 -0500
committerArthur Nogueira Neves <github@arthurnn.com>2016-03-07 15:28:44 -0500
commit7c6b72fbc2b121c7dafba7c1e47abc00d091321d (patch)
treef3e83065f03ff0bd4d9526e6a1a0c6e505f06b0e /activerecord
parent96e25060461aadaff7fd6504bb26e7f5df03d4d3 (diff)
parent11e7069be213bbd5782c07a2a139efaeb76697e8 (diff)
downloadrails-7c6b72fbc2b121c7dafba7c1e47abc00d091321d.tar.gz
rails-7c6b72fbc2b121c7dafba7c1e47abc00d091321d.tar.bz2
rails-7c6b72fbc2b121c7dafba7c1e47abc00d091321d.zip
Merge pull request #23922 from rthbound/fix-funny-spelling
Fixes funny spelling in an AR test
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/autosave_association_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb
index 3608063b01..9e3266b7d6 100644
--- a/activerecord/test/cases/autosave_association_test.rb
+++ b/activerecord/test/cases/autosave_association_test.rb
@@ -749,7 +749,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end
# has_one
- def test_should_destroy_a_child_association_as_part_of_the_save_transaction_if_it_was_marked_for_destroyal
+ def test_should_destroy_a_child_association_as_part_of_the_save_transaction_if_it_was_marked_for_destruction
assert !@pirate.ship.marked_for_destruction?
@pirate.ship.mark_for_destruction
@@ -809,7 +809,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end
# belongs_to
- def test_should_destroy_a_parent_association_as_part_of_the_save_transaction_if_it_was_marked_for_destroyal
+ def test_should_destroy_a_parent_association_as_part_of_the_save_transaction_if_it_was_marked_for_destruction
assert !@ship.pirate.marked_for_destruction?
@ship.pirate.mark_for_destruction