Fix JS tests

This commit is contained in:
Nicolas Le Goff
2013-06-13 14:38:00 +02:00
parent a23bccfe7e
commit 6bb6461935

View File

@@ -245,10 +245,12 @@ define([
it("render() should return the view object", function() {
this.view.render().should.equal(this.view);
this.view.remove();
});
it("should render as a DIV element", function() {
this.view.render().el.nodeName.should.equal("DIV");
this.view.remove();
});
});