From 112274ebffa0cb3e5e15e61a866031d9200c5331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20A=C3=B1asco?= Date: Mon, 8 Dec 2014 20:14:34 -0500 Subject: Fix options overwritten by super --- actionview/test/template/form_helper_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionview/test/template') diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb index a131752b2a..1459b9f02a 100644 --- a/actionview/test/template/form_helper_test.rb +++ b/actionview/test/template/form_helper_test.rb @@ -928,6 +928,11 @@ class FormHelperTest < ActionView::TestCase assert_dom_equal(expected, search_field("contact", "notes_query")) end + def test_search_field_with_onsearch_value + expected = %{} + assert_dom_equal(expected, search_field("contact", "notes_query", onsearch: true)) + end + def test_telephone_field expected = %{} assert_dom_equal(expected, telephone_field("user", "cell")) -- cgit v1.2.3