mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Rename search_field to test_search_field (ht: Piotr Usewicz)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user