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:
commit
2cab6a1b5a
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue