fix specs sometimes failing

This commit is contained in:
Vladimir Agafonkin 2013-02-05 17:00:38 +02:00
parent 5e05068478
commit f01e32d764

View File

@ -4,11 +4,10 @@ describe('L#noConflict', function() {
expect(L.version).toBeDefined();
var L2 = L.noConflict();
this.after(function () {
window.L = L2;
});
expect(L).toEqual('test');
expect(L2.version).toBeDefined();
window.L = L2;
});
});