diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-10 16:29:58 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-10 16:29:58 -0700 |
commit | a4ee5038c15d339774852fc09e1418746b95c019 (patch) | |
tree | 29d3c64b622751d965f8bd128442d2084f8a6964 /actionpack/test/template/template_test.rb | |
parent | ca312b6612e2c76aabd301807a1b63fc050e46d5 (diff) | |
parent | 115e80dccc65c3ed9a9750649d9ca4ea2a7e64f1 (diff) | |
download | rails-a4ee5038c15d339774852fc09e1418746b95c019.tar.gz rails-a4ee5038c15d339774852fc09e1418746b95c019.tar.bz2 rails-a4ee5038c15d339774852fc09e1418746b95c019.zip |
Merge pull request #1642 from sikachu/master-render-inline
Render inline fix for master
Diffstat (limited to 'actionpack/test/template/template_test.rb')
-rw-r--r-- | actionpack/test/template/template_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/template/template_test.rb b/actionpack/test/template/template_test.rb index b0ca7de0b6..2beb168a9d 100644 --- a/actionpack/test/template/template_test.rb +++ b/actionpack/test/template/template_test.rb @@ -172,5 +172,10 @@ class TestERBTemplate < ActiveSupport::TestCase ensure silence_warnings { Encoding.default_external = old } end + + def test_render_inline_safebuffer_should_not_raise_error + @template = new_template("Hello".html_safe) + render + end end end |