rails/actionview/test
Sean Doyle c5ae44d659 Alias `field_set_tag` helper to `fieldset_tag`
The [field_set_tag][] renders a `<fieldset>` element. At times, the
desire to render a `fieldset` results in calling `fieldset_tag`, only to
be surprised by a `NoMethodError`.

Originally, the method's name was `fieldset_tag` helper (defined in
[0e6c8e5][] in 2007), but was renamed in [73c7083][] (3 days later).

This commit aliases `field_set_tag` to `fieldset_tag` so that both are
available.

Additionally, defines the method so that it utilizes the [content_tag][]
so that it isn't responsible for manually managing the closing
(`</fieldset>`) of the opening `<fieldset>` tag.

[field_set_tag]: https://edgeapi.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-field_set_tag
[0e6c8e5]: 0e6c8e5f6c
[73c7083]: 73c7083651
[content_tag]: https://edgeapi.rubyonrails.org/classes/ActionView/Helpers/TagHelper.html#method-i-content_tag
2023-12-02 01:09:42 -05:00
..
actionpack Revert typography change in user facing errors 2023-09-26 21:45:03 +00:00
activerecord Fix Action View collection caching to store fragments as bare strings 2023-07-04 16:37:22 +02:00
fixtures Introduce `ActionView::TestCase.register_parser` 2023-09-27 02:03:23 +00:00
lib Fix form_for id generation for new CPK models 2023-08-28 15:56:25 -05:00
template Alias `field_set_tag` helper to `fieldset_tag` 2023-12-02 01:09:42 -05:00
ujs [Refactor] Remove unused from tests for `@rails/ujs` 2023-10-11 01:14:33 +09:00
abstract_unit.rb Get rid of the `jruby_skip` test helper 2023-10-02 13:01:44 +02:00
active_record_unit.rb Introducs `TestFixtures#fixture_paths`. 2023-03-14 19:02:56 -04:00
buffers_test.rb Add OutputBuffer#raw and #capture to reduce the need to swap the buffer 2022-08-03 12:56:34 +02:00
javascript_package_test.rb Fail on error in JavascriptPackageTest for UJS 2023-11-05 15:12:22 -06:00