require("./spec_helper.js")

describe("Jaml.Node", function() {
  it("renders nothing inside if there's nothing in the node", function(){
    assert.equal("<fooBar></fooBar>\n", new Jaml.Node("fooBar").render())
  })  
})


@@ -211,13 +211,176 @@
 )%0A  %7D)  
+%0A%0A  it(%22properly prepends the specified amount of left padding%22, function()%7B%0A    assert.equal(%22     %3CfooBar%3E%3C/fooBar%3E%5Cn%22, new Jaml.Node(%22fooBar%22).render(5))%0A  %7D)  
 %0A%7D)%0A%0A

test padding