summaryrefslogtreecommitdiff
path: root/test/text_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2012-12-20 13:49:39 -0700
committerDan Allen <dan.j.allen@gmail.com>2012-12-20 13:49:39 -0700
commitda53f66ef4e306750fde83ec72e08b44c6b937d1 (patch)
tree0c2dcdb84c1574006d17edd325430cc1a4e90b3b /test/text_test.rb
parent3081b69521fa03c173e5a7e4bb7369f5f7371bfc (diff)
add wrapper for embedded doc (no header/footer) & encoding test
Diffstat (limited to 'test/text_test.rb')
-rw-r--r--test/text_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/text_test.rb b/test/text_test.rb
index bb7b4c69..721f10c5 100644
--- a/test/text_test.rb
+++ b/test/text_test.rb
@@ -5,6 +5,10 @@ context "Text" do
assert_xpath "//p", example_document(:encoding).render, 1
end
+ test "proper encoding to handle utf8 characters in embedded document" do
+ assert_xpath "//p", example_document(:encoding).render(:header_footer => false), 1
+ end
+
test 'escaped text markup' do
pending "Not done yet"
end