The CI suite fails on the 'custom wrappers on input basis' test in test/form_builder/wrapper_test.rb. This test calls replace on the output_buffer object, which is of type ActionView::OutputBuffer.
In Rails 7.1.0.alpha the ActionView::OutputBuffer class was changed such that it is no longer a subclass of String, and now this method is unavailable.
Expected behavior
Test suite should pass and Simple Form should be compatible with Rails 7.1 in tests.
Environment
Current behavior
The CI suite fails on the 'custom wrappers on input basis' test in
test/form_builder/wrapper_test.rb
. This test callsreplace
on the output_buffer object, which is of typeActionView::OutputBuffer
.In Rails 7.1.0.alpha the
ActionView::OutputBuffer
class was changed such that it is no longer a subclass ofString
, and now this method is unavailable.Expected behavior
Test suite should pass and Simple Form should be compatible with Rails 7.1 in tests.