incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject spec commit: [CB-595] Check that Cordova global exists (for now, until we axe it)
Date Fri, 27 Apr 2012 20:58:56 GMT
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 <maj.fil@gmail.com>
Authored: Fri Apr 27 14:01:22 2012 -0700
Committer: Fil Maj <maj.fil@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 () {


Mime
View raw message