Add testing coverage for button_to in ButtonComponent
What does this MR do and why?
Add testing coverage for button_to in ButtonComponent
- add test coverage.
- resolve rubocop exceptions.
- document expected behavior that happens when supplying options to button_to as per https://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-button_to
- see #439209 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #482908
Edited by Doug Stull