From 4ac92c6560514151d2e4c94de1a411f26f157c71 Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Mon, 26 Nov 2012 09:22:28 -0500 Subject: [PATCH] Corrects typo in test name --- .../test/cases/associations/has_many_associations_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')