Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Associaton -> Association

  • Loading branch information...
commit a0265b98f16c6e33be32aa3f57231d1189302400 1 parent 6581d79
Steve Klabnik steveklabnik authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/form_helper_test.rb
4 actionpack/test/template/form_helper_test.rb
View
@@ -2163,14 +2163,14 @@ def test_nested_fields_for_with_child_index_option_override_on_a_nested_attribut
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|
Please sign in to comment.
Something went wrong with that request. Please try again.