Permalink
Browse files

Removed nested dtd object from create test

  • Loading branch information...
oozcitak committed Dec 22, 2013
1 parent 8458698 commit 4b3beda8c6db74e48d7a9b279169e58bb2d81303
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/createxml.coffee
View
@@ -124,19 +124,19 @@ vows
xml = '<?xml version="1.0"?><test14><node>test</node></test14>'
assert.strictEqual topic.end(), xml
- 'create() with with arguments':
+ 'create() with arguments':
topic: () ->
xmlbuilder.create('test14', { 'version': '1.1' }).ele('node').txt('test')
'resulting XML': (topic) ->
xml = '<?xml version="1.1"?><test14><node>test</node></test14>'
assert.strictEqual topic.end(), xml
- 'create() with with merged arguments':
+ 'create() with merged arguments':
topic: () ->
- xml1 = xmlbuilder.create('test14', { version: '1.1', encoding: 'UTF-8', standalone: true, dtd: { sysID: 'hello.dtd' }})
+ xml1 = xmlbuilder.create('test14', { version: '1.1', encoding: 'UTF-8', standalone: true, sysID: 'hello.dtd' })
.ele('node').txt('test')
- xml2 = xmlbuilder.create('test14', { headless: true, version: '1.1', encoding: 'UTF-8', standalone: true, dtd: { sysID: 'hello.dtd' }})
+ xml2 = xmlbuilder.create('test14', { headless: true, version: '1.1', encoding: 'UTF-8', standalone: true, sysID: 'hello.dtd' })
.ele('node').txt('test')
[xml1, xml2]

0 comments on commit 4b3beda

Please sign in to comment.