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

Merge pull request #8319 from alindeman/typo

Corrects typo in test name [ci skip]
This commit is contained in:
Carlos Antonio da Silva 2012-11-26 09:39:06 -08:00
commit 2cab6a1b5a

View file

@ -1579,7 +1579,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
assert_equal [tagging], post.taggings assert_equal [tagging], post.taggings
end end
def test_build_with_polymotphic_has_many_does_not_allow_to_override_type_and_id def test_build_with_polymorphic_has_many_does_not_allow_to_override_type_and_id
welcome = posts(:welcome) welcome = posts(:welcome)
tagging = welcome.taggings.build(:taggable_id => 99, :taggable_type => 'ShouldNotChange') tagging = welcome.taggings.build(:taggable_id => 99, :taggable_type => 'ShouldNotChange')