aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
diff options
context:
space:
mode:
authorRyan T. Hosford <tad.hosford@gmail.com>2016-02-26 20:51:51 -0600
committerRyan T. Hosford <tad.hosford@gmail.com>2016-02-26 20:52:49 -0600
commit11e7069be213bbd5782c07a2a139efaeb76697e8 (patch)
tree4a71b14cec2414743ed71ea929d5c75f0512e0e0 /activerecord/test/cases/autosave_association_test.rb
parent0d37f122fc0b697c25d1c31a5a9c310c4328e034 (diff)
downloadrails-11e7069be213bbd5782c07a2a139efaeb76697e8.tar.gz
rails-11e7069be213bbd5782c07a2a139efaeb76697e8.tar.bz2
rails-11e7069be213bbd5782c07a2a139efaeb76697e8.zip
Fixes funny spelling
- marked_for_destroyal -> marked_for_destruction
Diffstat (limited to 'activerecord/test/cases/autosave_association_test.rb')
-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