diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-10 19:49:10 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-10 19:49:10 +0200 |
commit | 51590ad1756183f84a3df4790d0b07bcf1e74ed4 (patch) | |
tree | d4fa19c6a212614d5ca0bbe1705288654f6aa6e1 /actionpack/test | |
parent | b67ec8ba20099c8b39bf344f385bbbd2b9c8f47d (diff) | |
download | rails-51590ad1756183f84a3df4790d0b07bcf1e74ed4.tar.gz rails-51590ad1756183f84a3df4790d0b07bcf1e74ed4.tar.bz2 rails-51590ad1756183f84a3df4790d0b07bcf1e74ed4.zip |
Remove punctuate_body! No code in lib was using it and it had no documentation.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/body_parts_test.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/actionpack/test/template/body_parts_test.rb b/actionpack/test/template/body_parts_test.rb deleted file mode 100644 index 69cf684083..0000000000 --- a/actionpack/test/template/body_parts_test.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'abstract_unit' - -class BodyPartsTest < ActionController::TestCase - RENDERINGS = [Object.new, Object.new, Object.new] - - class TestController < ActionController::Base - def response_body() "" end - - def index - RENDERINGS.each do |rendering| - view_context.punctuate_body! rendering - end - end - end - - tests TestController - - def test_body_parts - get :index - # TestProcess buffers body_parts into body - # TODO: Rewrite test w/o going through process - assert_equal RENDERINGS, @response.body_parts - assert_equal RENDERINGS.join, @response.body - end -end |