diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-02-05 00:58:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 00:58:59 -0700 |
| commit | 21f67d35e9f85e6acf1ea99039a5b6ccc146546e (patch) | |
| tree | ed5f566e4bc67f288d646e8ac5f79f51ac188609 /test/text_test.rb | |
| parent | 98a1d0123647eb85a1dc460d0103f624b0367cc5 (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.rb | 12 |
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 |
