Merge branch 'master' into editor

This commit is contained in:
Danny Greg & Nathan Sobo
2012-01-19 16:47:12 -08:00
3 changed files with 18 additions and 7 deletions

View File

@@ -44,6 +44,11 @@ describe "Builder", ->
builder.tag 'br', id: 'foo'
expect(builder.toHtml()).toBe '<br id="foo">'
describe ".raw(text)", ->
it "does not escape html entities", ->
builder.raw '&nbsp;'
expect(builder.toHtml()).toBe '&nbsp;'
describe ".subview(name, template, attrs)", ->
template = null