diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2013-01-13 10:43:24 -0500 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-01-13 10:43:24 -0500 |
commit | a0265b98f16c6e33be32aa3f57231d1189302400 (patch) | |
tree | 735c83a39117ac2bd05180dbbbbb20e7f7b67d96 | |
parent | 6581d798e830a7820dd54fe95d40014c0e2057fe (diff) | |
download | rails-a0265b98f16c6e33be32aa3f57231d1189302400.tar.gz rails-a0265b98f16c6e33be32aa3f57231d1189302400.tar.bz2 rails-a0265b98f16c6e33be32aa3f57231d1189302400.zip |
Associaton -> Association
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 4 |
1 files 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| |