diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:30:16 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:30:16 -0300 |
commit | f63f90134ad46059e7848515d8be5284644bd95c (patch) | |
tree | b4b5d82611b0b61e3a613a95a91fd418c9115ba8 | |
parent | dc61ab0be5fb9c1dbca461c485be56ba24ed133c (diff) | |
download | rails-f63f90134ad46059e7848515d8be5284644bd95c.tar.gz rails-f63f90134ad46059e7848515d8be5284644bd95c.tar.bz2 rails-f63f90134ad46059e7848515d8be5284644bd95c.zip |
Rename duplicated test, and give it a correct name. Remove nonsense line.
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index b3fae4d564..abc98ebe69 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -106,7 +106,6 @@ class FormHelperTest < ActionView::TestCase if object.is_a?(Hash) && object[:use_route].blank? && object[:controller].blank? object.merge!(:controller => "main", :action => "index") end - object super end @@ -269,7 +268,7 @@ class FormHelperTest < ActionView::TestCase assert_dom_equal expected, hidden_field("post", "title", :value => nil) end - def test_text_field_with_options + def test_hidden_field_with_options assert_dom_equal '<input id="post_title" name="post[title]" type="hidden" value="Something Else" />', hidden_field("post", "title", :value => "Something Else") end |