Rename search_field to test_search_field (ht: Piotr Usewicz)

This commit is contained in:
José Valim
2010-04-06 11:53:29 +02:00
parent 77b238d169
commit 46e2a44ee1

View File

@@ -349,7 +349,7 @@ class FormHelperTest < ActionView::TestCase
)
end
def search_field
def test_search_field
expected = %{<input id="contact_notes_query" size="30" name="contact[notes_query]" type="search" />}
assert_dom_equal(expected, search_field("contact", "notes_query"))
end