spec/support/shared_examples.rb in formtastic-4.0.0 vs spec/support/shared_examples.rb in formtastic-5.0.0

- old
+ new

@@ -1,9 +1,10 @@ +# frozen_string_literal: true RSpec.shared_context 'form builder' do include FormtasticSpecHelper before do - @output_buffer = '' + @output_buffer = ActionView::OutputBuffer.new '' mock_everything end after do ::I18n.backend.reload!