Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / src / core / test / unit / spec / Ext.js
index 9604c66..024c5b9 100644 (file)
@@ -1,3 +1,17 @@
+/*
+
+This file is part of Ext JS 4
+
+Copyright (c) 2011 Sencha Inc
+
+Contact:  http://www.sencha.com/contact
+
+GNU General Public License Usage
+This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
+
+If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
+
+*/
 describe("Ext", function() {
     
     describe("Ext.global", function() {
@@ -913,7 +927,7 @@ describe("Ext", function() {
            expect(Ext.isElement(Ext.getBody().dom)).toBe(true);
         });
 
-        it("should return false with Ext.core.Element", function() {
+        it("should return false with Ext.Element", function() {
            expect(Ext.isElement(Ext.getBody())).toBe(false);
         });
         
@@ -978,7 +992,7 @@ describe("Ext", function() {
     describe("Ext.isFunction", function() {
         beforeEach(function() {
             // add global variable in whitelist
-            addGlobal("ExtSandbox1");
+            addGlobal("ExtBox1");
         });
 
         it("should return true with anonymous function", function() {
@@ -1480,7 +1494,7 @@ describe("Ext", function() {
            expect(Ext.isTextNode(Ext.getBody().dom)).toBe(false);
         });
 
-        it("should return false with Ext.core.Element", function() {
+        it("should return false with Ext.Element", function() {
            expect(Ext.isTextNode(Ext.getBody())).toBe(false);
         });
         
@@ -1538,7 +1552,8 @@ describe("Ext", function() {
     
     describe('getUniqueGlobalNamespace', function() {
         it("should return an unique global namespace", function() {
-            expect(Ext.getUniqueGlobalNamespace()).toBe("ExtSandbox1"); 
+            expect(Ext.getUniqueGlobalNamespace()).toBe("ExtBox1"); 
         });
     });
 });
+