1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixes funny spelling

- marked_for_destroyal -> marked_for_destruction
This commit is contained in:
Ryan T. Hosford 2016-02-26 20:51:51 -06:00
parent 0d37f122fc
commit 11e7069be2

View file

@ -749,7 +749,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end end
# has_one # 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? assert !@pirate.ship.marked_for_destruction?
@pirate.ship.mark_for_destruction @pirate.ship.mark_for_destruction
@ -809,7 +809,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end end
# belongs_to # 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? assert !@ship.pirate.marked_for_destruction?
@ship.pirate.mark_for_destruction @ship.pirate.mark_for_destruction