aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/body_parts_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-02 14:57:40 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-02 14:57:40 -0500
commita8b75c480fc9774252f5976dcf1a614079822e56 (patch)
treeb2567b106a5a87472340bdeab54f4b1880fe06df /actionpack/test/template/body_parts_test.rb
parent3900f4007ee6463b8936af23c04017a900673866 (diff)
downloadrails-a8b75c480fc9774252f5976dcf1a614079822e56.tar.gz
rails-a8b75c480fc9774252f5976dcf1a614079822e56.tar.bz2
rails-a8b75c480fc9774252f5976dcf1a614079822e56.zip
Functional test runner finalizes response just like the integration test runner. In both runners, the @response object will now behave the same.
Some functional tests will need to be updated if they are relying on preprocessed data on the response.
Diffstat (limited to 'actionpack/test/template/body_parts_test.rb')
-rw-r--r--actionpack/test/template/body_parts_test.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/actionpack/test/template/body_parts_test.rb b/actionpack/test/template/body_parts_test.rb
index 5be8533293..e17092a452 100644
--- a/actionpack/test/template/body_parts_test.rb
+++ b/actionpack/test/template/body_parts_test.rb
@@ -16,7 +16,11 @@ class BodyPartsTest < ActionController::TestCase
def test_body_parts
get :index
- assert_equal RENDERINGS, @response.body_parts
+ pending do
+ # TestProcess buffers body_parts into body
+ # TODO: Rewrite test w/o going through process
+ assert_equal RENDERINGS, @response.body_parts
+ end
assert_equal RENDERINGS.join, @response.body
end
end