aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lindeman <alindeman@gmail.com>2012-11-26 09:22:28 -0500
committerAndy Lindeman <alindeman@gmail.com>2012-11-26 09:22:28 -0500
commit4ac92c6560514151d2e4c94de1a411f26f157c71 (patch)
tree5a536a0b79895261c129887bb0699e75acf907e3
parent3ec443086b345cd6f2c1974a6d1ee4dd9f8fdb3e (diff)
downloadrails-4ac92c6560514151d2e4c94de1a411f26f157c71.tar.gz
rails-4ac92c6560514151d2e4c94de1a411f26f157c71.tar.bz2
rails-4ac92c6560514151d2e4c94de1a411f26f157c71.zip
Corrects typo in test name
-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')