mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
9b3fa766d4
commit
6a4771fd6e
1 changed files with 0 additions and 6 deletions
|
@ -210,10 +210,4 @@ class CaptureHelperTest < ActionView::TestCase
|
|||
def alt_encoding(output_buffer)
|
||||
output_buffer.encoding == Encoding::US_ASCII ? Encoding::UTF_8 : Encoding::US_ASCII
|
||||
end
|
||||
|
||||
def view_with_controller
|
||||
TestController.new.view_context.tap do |view|
|
||||
view.output_buffer = ActionView::OutputBuffer.new
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue