aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-04-06 11:53:29 +0200
committerJosé Valim <jose.valim@gmail.com>2010-04-06 11:53:34 +0200
commit46e2a44ee14a19cc2392d8ca174529ad70ee36dc (patch)
treea312d25725a28781e3f329ba90c51e05247d42dd /actionpack
parent77b238d169b26f8d3a517f89f66d740b7eb52a9d (diff)
downloadrails-46e2a44ee14a19cc2392d8ca174529ad70ee36dc.tar.gz
rails-46e2a44ee14a19cc2392d8ca174529ad70ee36dc.tar.bz2
rails-46e2a44ee14a19cc2392d8ca174529ad70ee36dc.zip
Rename search_field to test_search_field (ht: Piotr Usewicz)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/form_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb
index d62406c2d3..64dfbde0b0 100644
--- a/actionpack/test/template/form_helper_test.rb
+++ b/actionpack/test/template/form_helper_test.rb
@@ -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