diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2014-02-14 23:25:47 +0000 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-02-16 02:08:16 -0700 |
| commit | f8b9517271e61542b8431146daab2ad1dd682fcc (patch) | |
| tree | f5f5d94a7dffdf320e844631ad8b63ce98b0060e /test/text_test.rb | |
| parent | e52c53bfeced8a77135055589dd398845a1cbebe (diff) | |
resolves #554 switch default docbook backend to docbook5
- switch docbook backend to docbook5.
- make tests for DocBook 4.5 specify the correct backend
- update documentation to reflect new docbook backend
Diffstat (limited to 'test/text_test.rb')
| -rw-r--r-- | test/text_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/text_test.rb b/test/text_test.rb index 24de8da2..5501e5d0 100644 --- a/test/text_test.rb +++ b/test/text_test.rb @@ -17,14 +17,14 @@ context "Text" do assert_xpath '//a', output, 1 end - test "proper encoding to handle utf8 characters in document using docbook backend" do - output = example_document(:encoding, :attributes => {'backend' => 'docbook'}).render + test "proper encoding to handle utf8 characters in document using docbook45 backend" do + output = example_document(:encoding, :attributes => {'backend' => 'docbook45'}).render assert_xpath '//xmlns:simpara', output, 4 assert_xpath '//xmlns:ulink', output, 1 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'}).render + test "proper encoding to handle utf8 characters in embedded document using docbook45 backend" do + output = example_document(:encoding, :header_footer => false, :attributes => {'backend' => 'docbook45'}).render assert_xpath '//simpara', output, 4 assert_xpath '//ulink', output, 1 end |
