class ActionController::StreamingResponseTest
Public Instance Methods
test_write_to_stream()
click to toggle source
# File actionpack/test/controller/streaming_test.rb, line 23 def test_write_to_stream get :basic_stream assert_equal "hello\nworld\n", @response.body end