diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 15:58:12 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 15:58:12 +0000 |
commit | 73c70836515879f69a152535f3ab411acc3317b8 (patch) | |
tree | 849d2c9363ac135798bbd111f130226edbab932d /actionpack/test | |
parent | fa602bb86d31450c488d087b00c2d12198ab6ec8 (diff) | |
download | rails-73c70836515879f69a152535f3ab411acc3317b8.tar.gz rails-73c70836515879f69a152535f3ab411acc3317b8.tar.bz2 rails-73c70836515879f69a152535f3ab411acc3317b8.zip |
Rename fieldset_tag to field_set_tag to follow the conventions from text_area and text_field [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 |