This commit is contained in:
Kevin Jahns
2014-09-29 13:10:22 +02:00
parent 6623bd6134
commit 51b5294e3c
2 changed files with 12 additions and 6 deletions

View File

@@ -45,5 +45,11 @@ describe "XmlFramework", ->
dom_ = @test_user.val(true)
expect(dom_ isnt dom).to.be.true
expect(dom_.outerHTML).to.equal(dom.outerHTML)
console.log "dtrn"
it "can transform to a real Dom element", ->
dom = $("#test_dom")[0]
@test_user.val(dom)
newdom = $("<p>dtrn</p>")[0]
dom.insertBefore(newdom)
dom_ = @test_user.val(true)