Permalink
Browse files

Rename duplicated test, and give it a correct name. Remove nonsense l…

…ine.
  • Loading branch information...
1 parent dc61ab0 commit f63f90134ad46059e7848515d8be5284644bd95c @miloops miloops committed Sep 28, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/test/template/form_helper_test.rb
@@ -106,7 +106,6 @@ def url_for(object)
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 @@ def test_hidden_field_with_nil_value
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

0 comments on commit f63f901

Please sign in to comment.