afterEach(function() {
delete Ext.cache[Ext.documentId];
});
- it("should add document Ext.core.Element to cache", function() {
+ it("should add document Ext.Element to cache", function() {
expect(Ext.cache[Ext.documentId].el.dom).toBe(document);
});
afterEach(function() {
delete Ext.cache[Ext.windowId];
});
- it("should add window Ext.core.Element to cache", function() {
+ it("should add window Ext.Element to cache", function() {
expect(Ext.cache[Ext.windowId].el.dom).toBe(window);
});