summaryrefslogtreecommitdiff
path: root/test/text_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-03-14 23:55:19 -0600
committerGitHub <noreply@github.com>2019-03-14 23:55:19 -0600
commit2fc6d228248a5dbec486b798efb5102013f67b27 (patch)
treeeecaeee0a12b25a33f39e924dd84d3576e20c806 /test/text_test.rb
parent94c28f2383c2cb860cd0d4ec9fb459f1a058e835 (diff)
resolves #1444 rename header_footer option to standalone (PR #3146)
* still honor header_footer option as fallback for backwards compatibility
Diffstat (limited to 'test/text_test.rb')
-rw-r--r--test/text_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text_test.rb b/test/text_test.rb
index 882d6a51..0318d281 100644
--- a/test/text_test.rb
+++ b/test/text_test.rb
@@ -9,7 +9,7 @@ context "Text" do
end
test "proper encoding to handle utf8 characters in embedded document using html backend" do
- output = example_document(:encoding, header_footer: false).convert
+ output = example_document(:encoding, standalone: false).convert
assert_xpath '//p', output, 4
assert_xpath '//a', output, 1
end
@@ -21,7 +21,7 @@ context "Text" do
end
test 'proper encoding to handle utf8 characters in embedded document using docbook backend' do
- output = example_document(:encoding, header_footer: false, attributes: { 'backend' => 'docbook' }).convert
+ output = example_document(:encoding, standalone: false, attributes: { 'backend' => 'docbook' }).convert
assert_xpath '//simpara', output, 4
assert_xpath '//link', output, 1
end