aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-26 09:39:06 -0800
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-26 09:39:06 -0800
commit2cab6a1b5ae012bbd0a33b589d4b86b2bcb88edd (patch)
tree3a9c56b3c84e7b3d5fdfe58849bfd9e3e087045c /activerecord/test/cases
parent26a3b70cc4e3bffac48283e0c699bd2a56f1cbd2 (diff)
parent4ac92c6560514151d2e4c94de1a411f26f157c71 (diff)
downloadrails-2cab6a1b5ae012bbd0a33b589d4b86b2bcb88edd.tar.gz
rails-2cab6a1b5ae012bbd0a33b589d4b86b2bcb88edd.tar.bz2
rails-2cab6a1b5ae012bbd0a33b589d4b86b2bcb88edd.zip
Merge pull request #8319 from alindeman/typo
Corrects typo in test name [ci skip]
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index 2ded97582d..e5022d49f1 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -1579,7 +1579,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
assert_equal [tagging], post.taggings
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)
tagging = welcome.taggings.build(:taggable_id => 99, :taggable_type => 'ShouldNotChange')