From a0265b98f16c6e33be32aa3f57231d1189302400 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 13 Jan 2013 10:43:24 -0500 Subject: Associaton -> Association --- actionpack/test/template/form_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 247068de4e..14518f53ce 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -2163,14 +2163,14 @@ class FormHelperTest < ActionView::TestCase assert_dom_equal expected, output_buffer end - class FakeAssociatonProxy + class FakeAssociationProxy def to_ary [1, 2, 3] end end def test_nested_fields_for_with_child_index_option_override_on_a_nested_attributes_collection_association_with_proxy - @post.comments = FakeAssociatonProxy.new + @post.comments = FakeAssociationProxy.new form_for(@post) do |f| concat f.fields_for(:comments, Comment.new(321), :child_index => 'abc') { |cf| -- cgit v1.2.3