Permalink
Browse files

Associaton -> Association

  • Loading branch information...
1 parent 6581d79 commit a0265b98f16c6e33be32aa3f57231d1189302400 @steveklabnik steveklabnik committed Jan 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/form_helper_test.rb
@@ -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|

0 comments on commit a0265b9

Please sign in to comment.