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

Merge pull request #13034 from vipulnsward/some_typos

Fix some minor typos
This commit is contained in:
Rafael Mendonça França 2013-11-25 10:49:35 -08:00
commit a6900a2073
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@
*Adam Williams*, *Yves Senn* *Adam Williams*, *Yves Senn*
* Fix bug where `has_one` associaton record update result in crash, when replaced with itself. * Fix bug where `has_one` association record update result in crash, when replaced with itself.
Fixes #12834. Fixes #12834.

View file

@ -104,7 +104,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
car = Car.create(:name => 'honda') car = Car.create(:name => 'honda')
car.funky_bulbs.create! car.funky_bulbs.create!
assert_nothing_raised { car.reload.funky_bulbs.delete_all } assert_nothing_raised { car.reload.funky_bulbs.delete_all }
assert_equal 0, Bulb.count, "bulbs should have been deleted using :delete_all strategey" assert_equal 0, Bulb.count, "bulbs should have been deleted using :delete_all strategy"
end end
def test_building_the_associated_object_with_implicit_sti_base_class def test_building_the_associated_object_with_implicit_sti_base_class