diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/form_tag_helper_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/template/form_tag_helper_test.rb b/actionpack/test/template/form_tag_helper_test.rb index c2cdd7666c..c582c26c68 100644 --- a/actionpack/test/template/form_tag_helper_test.rb +++ b/actionpack/test/template/form_tag_helper_test.rb @@ -158,21 +158,21 @@ class FormTagHelperTest < Test::Unit::TestCase assert_equal 1, 1 end - def test_fieldset_tag + def test_field_set_tag _erbout = '' - fieldset_tag("Your details") { _erbout.concat "Hello world!" } + field_set_tag("Your details") { _erbout.concat "Hello world!" } expected = %(<fieldset><legend>Your details</legend>Hello world!</fieldset>) assert_dom_equal expected, _erbout _erbout = '' - fieldset_tag { _erbout.concat "Hello world!" } + field_set_tag { _erbout.concat "Hello world!" } expected = %(<fieldset>Hello world!</fieldset>) assert_dom_equal expected, _erbout _erbout = '' - fieldset_tag('') { _erbout.concat "Hello world!" } + field_set_tag('') { _erbout.concat "Hello world!" } expected = %(<fieldset>Hello world!</fieldset>) assert_dom_equal expected, _erbout |