aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-07-06 20:24:15 -0300
committerJosé Valim <jose.valim@gmail.com>2011-07-06 20:24:30 -0300
commit7da88c5b297486cd90696133d287be7d60d65218 (patch)
tree8d813b7ef702de6838d6a547b7e72d5a0fe0c6d5 /actionpack/test/controller
parent689c3d674c34c0be6ec8dbadbb573b5b4abb6029 (diff)
downloadrails-7da88c5b297486cd90696133d287be7d60d65218.tar.gz
rails-7da88c5b297486cd90696133d287be7d60d65218.tar.bz2
rails-7da88c5b297486cd90696133d287be7d60d65218.zip
Remove stream at the class level.
This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/new_base/render_streaming_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_base/render_streaming_test.rb b/actionpack/test/controller/new_base/render_streaming_test.rb
index 48cf0ab9cb..1a17e24914 100644
--- a/actionpack/test/controller/new_base/render_streaming_test.rb
+++ b/actionpack/test/controller/new_base/render_streaming_test.rb
@@ -10,9 +10,9 @@ module RenderStreaming
)]
layout "application"
- stream :only => [:hello_world, :skip]
def hello_world
+ render :stream => true
end
def layout_exception