Clean code.

This commit is contained in:
Lars Jung 2015-04-22 23:50:16 +02:00
parent 41b199c578
commit c732fbb363
2 changed files with 4 additions and 9 deletions

View file

@ -23,19 +23,11 @@ describe('module \'' + ID + '\'', function () {
return this.definition.fn(_, this.xEvent, this.xSettings);
};
this.titleBak = document.title;
this.dummyTitle = util.uniqId();
});
after(function () {
document.title = this.titleBak;
});
beforeEach(function () {
document.title = this.dummyTitle;
util.restoreHtml();
});
describe('definition', function () {