You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/04/27 22:58:56 UTC

spec commit: [CB-595] Check that Cordova global exists (for now, until we axe it)

Updated Branches:
  refs/heads/master f5263071a -> dd38645ea


[CB-595] Check that Cordova global exists (for now, until we axe it)


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/dd38645e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/dd38645e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/dd38645e

Branch: refs/heads/master
Commit: dd38645ea179e6158ddd23532261bd64b487616b
Parents: f526307
Author: Fil Maj <ma...@gmail.com>
Authored: Fri Apr 27 14:01:22 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Fri Apr 27 14:01:22 2012 -0700

----------------------------------------------------------------------
 autotest/tests/platform.tests.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/dd38645e/autotest/tests/platform.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/platform.tests.js b/autotest/tests/platform.tests.js
index 6b1a0ed..cf05356 100644
--- a/autotest/tests/platform.tests.js
+++ b/autotest/tests/platform.tests.js
@@ -3,8 +3,8 @@ describe('Platform (cordova)', function () {
         expect(cordova).toBeDefined();
     });
     describe('Platform (Cordova)', function () {
-        it("should not exist", function() {
-            expect(window.Cordova).not.toBeDefined();
+        it("should exist", function() {
+            expect(window.Cordova).toBeDefined();
         });
     });
     describe('Platform (PhoneGap)', function () {