aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-09-28 15:30:16 -0300
committerEmilio Tagua <miloops@gmail.com>2010-09-28 15:30:16 -0300
commitf63f90134ad46059e7848515d8be5284644bd95c (patch)
treeb4b5d82611b0b61e3a613a95a91fd418c9115ba8 /actionpack/test
parentdc61ab0be5fb9c1dbca461c485be56ba24ed133c (diff)
downloadrails-f63f90134ad46059e7848515d8be5284644bd95c.tar.gz
rails-f63f90134ad46059e7848515d8be5284644bd95c.tar.bz2
rails-f63f90134ad46059e7848515d8be5284644bd95c.zip
Rename duplicated test, and give it a correct name. Remove nonsense line.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/form_helper_test.rb3
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