aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/test_helper_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-15 22:07:20 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-17 10:04:38 -0200
commit67c96ab024f008ad1aee8345c1ae0fd7aa9bf072 (patch)
tree9f3d18283bbda6e3d1e3a4f376793bde50fddf0d /actionmailer/test/test_helper_test.rb
parenta977b2588e46ab5b9b8a1cb2a8f7482988c64486 (diff)
downloadrails-67c96ab024f008ad1aee8345c1ae0fd7aa9bf072.tar.gz
rails-67c96ab024f008ad1aee8345c1ae0fd7aa9bf072.tar.bz2
rails-67c96ab024f008ad1aee8345c1ae0fd7aa9bf072.zip
Move render_to_body logic to return a spaced string to AC::Rendering
This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this.
Diffstat (limited to 'actionmailer/test/test_helper_test.rb')
0 files changed, 0 insertions, 0 deletions