diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-06-19 01:28:02 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-06-19 01:28:02 -0600 |
| commit | 3c8d2d1f02f9836353e3cd27fa0ee398bcf06030 (patch) | |
| tree | 57df293bad9e0f2d572f516c9d7db39c420dd60f /test/text_test.rb | |
| parent | acb1092b439a495f0d37339272c4031d8da297bd (diff) | |
resolves #929 only include xmlns in docbook45 backend if xmlns attribute is specified
Diffstat (limited to 'test/text_test.rb')
| -rw-r--r-- | test/text_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text_test.rb b/test/text_test.rb index 8b595673..7ed02564 100644 --- a/test/text_test.rb +++ b/test/text_test.rb @@ -18,7 +18,7 @@ context "Text" do end test "proper encoding to handle utf8 characters in document using docbook45 backend" do - output = example_document(:encoding, :attributes => {'backend' => 'docbook45'}).render + output = example_document(:encoding, :attributes => {'backend' => 'docbook45', 'xmlns' => ''}).render assert_xpath '//xmlns:simpara', output, 4 assert_xpath '//xmlns:ulink', output, 1 end |
