aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/template_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-06-10 16:29:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-06-10 16:29:58 -0700
commita4ee5038c15d339774852fc09e1418746b95c019 (patch)
tree29d3c64b622751d965f8bd128442d2084f8a6964 /actionpack/test/template/template_test.rb
parentca312b6612e2c76aabd301807a1b63fc050e46d5 (diff)
parent115e80dccc65c3ed9a9750649d9ca4ea2a7e64f1 (diff)
downloadrails-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.rb5
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