mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Fix JS tests
This commit is contained in:
@@ -245,10 +245,12 @@ define([
|
|||||||
|
|
||||||
it("render() should return the view object", function() {
|
it("render() should return the view object", function() {
|
||||||
this.view.render().should.equal(this.view);
|
this.view.render().should.equal(this.view);
|
||||||
|
this.view.remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should render as a DIV element", function() {
|
it("should render as a DIV element", function() {
|
||||||
this.view.render().el.nodeName.should.equal("DIV");
|
this.view.render().el.nodeName.should.equal("DIV");
|
||||||
|
this.view.remove();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user