diff options
author | José Valim <jose.valim@gmail.com> | 2011-04-18 14:25:51 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-18 14:27:49 +0200 |
commit | 07fde1a3d36d0622d5fa9c040bfca70db675926a (patch) | |
tree | 2e65c5c7e94604192bd85acb1697a936f5f77e17 /actionpack/test/controller | |
parent | 3e335923161b4074cb048b2a828b0588fcf98b16 (diff) | |
download | rails-07fde1a3d36d0622d5fa9c040bfca70db675926a.tar.gz rails-07fde1a3d36d0622d5fa9c040bfca70db675926a.tar.bz2 rails-07fde1a3d36d0622d5fa9c040bfca70db675926a.zip |
Just define the controller if fibers are defined.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/new_base/render_streaming_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/new_base/render_streaming_test.rb b/actionpack/test/controller/new_base/render_streaming_test.rb index 27ba4b1a29..dbd6c66d1f 100644 --- a/actionpack/test/controller/new_base/render_streaming_test.rb +++ b/actionpack/test/controller/new_base/render_streaming_test.rb @@ -58,5 +58,5 @@ module RenderStreaming assert_equal "chunked", headers["Transfer-Encoding"] assert_equal cache, headers["Cache-Control"] end - end if defined?(Fiber) -end + end +end if defined?(Fiber) |