Update to Rails 2.3.9 and itextomml 1.3.27

This commit is contained in:
Jacques Distler 2010-09-05 15:24:15 -05:00
parent 113e0af736
commit ef30cc22df
200 changed files with 3065 additions and 1204 deletions

View file

@ -10,9 +10,9 @@ class SafeBufferTest < ActiveSupport::TestCase
assert_equal "", @buffer
end
test "Should escape a raw string which is passed to them" do
test "Should not escape a raw string unless using rails_xss" do
@buffer << "<script>"
assert_equal "&lt;script&gt;", @buffer
assert_equal "<script>", @buffer
end
test "Should NOT escape a safe value passed to it" do