summaryrefslogtreecommitdiff
path: root/test/text_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-02-05 00:58:59 -0700
committerGitHub <noreply@github.com>2019-02-05 00:58:59 -0700
commit21f67d35e9f85e6acf1ea99039a5b6ccc146546e (patch)
treeed5f566e4bc67f288d646e8ac5f79f51ac188609 /test/text_test.rb
parent98a1d0123647eb85a1dc460d0103f624b0367cc5 (diff)
resolves #3005 remove the converter for the docbook45 backend (PR #3040)
- remove the DocBook45Converter class - remove accomodations in DocBook5Converter for DocBook 4.5 - don't register the docbook45 backend name in the converter registry - drop docbook45 from the backend CLI option values - don't mention DocBook 4.5 in the man page - don't mention DocBook 4.5 in the CLI usage statement - update tests to use DocBook 5 instead of DocBook 4.5
Diffstat (limited to 'test/text_test.rb')
-rw-r--r--test/text_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/text_test.rb b/test/text_test.rb
index b8bf24b6..daa4a172 100644
--- a/test/text_test.rb
+++ b/test/text_test.rb
@@ -13,16 +13,16 @@ context "Text" do
assert_xpath '//a', output, 1
end
- test "proper encoding to handle utf8 characters in document using docbook45 backend" do
- output = example_document(:encoding, attributes: { 'backend' => 'docbook45', 'xmlns' => '' }).convert
+ test 'proper encoding to handle utf8 characters in document using docbook backend' do
+ output = example_document(:encoding, attributes: { 'backend' => 'docbook', 'xmlns' => '' }).convert
assert_xpath '//xmlns:simpara', output, 4
- assert_xpath '//xmlns:ulink', output, 1
+ assert_xpath '//xmlns:link', output, 1
end
- test "proper encoding to handle utf8 characters in embedded document using docbook45 backend" do
- output = example_document(:encoding, header_footer: false, attributes: { 'backend' => 'docbook45' }).convert
+ 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
assert_xpath '//simpara', output, 4
- assert_xpath '//ulink', output, 1
+ assert_xpath '//link', output, 1
end
# NOTE this test ensures we have the encoding line on block templates too