提交 f63f9013 编写于 作者: E Emilio Tagua

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

上级 dc61ab0b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册