ActionView::OutputBuffer doesn't have #replace method anymore.
See 4e8e828291
This commit is contained in:
parent
2b77e9cb00
commit
b472e19b5d
|
@ -195,12 +195,12 @@ class WrapperTest < ActionView::TestCase
|
|||
with_form_for @user, :name
|
||||
assert_no_select "section.custom_wrapper div.another_wrapper label"
|
||||
assert_no_select "section.custom_wrapper div.another_wrapper input.string"
|
||||
output_buffer.replace ""
|
||||
output_buffer.to_s.replace ""
|
||||
|
||||
with_form_for @user, :name, wrapper: :another
|
||||
assert_select "section.custom_wrapper div.another_wrapper label"
|
||||
assert_select "section.custom_wrapper div.another_wrapper input.string"
|
||||
output_buffer.replace ""
|
||||
output_buffer.to_s.replace ""
|
||||
end
|
||||
|
||||
with_form_for @user, :name, wrapper: custom_wrapper
|
||||
|
|
Loading…
Reference in New Issue