incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: updating tests following plugin label name change
Date Wed, 28 Mar 2012 20:44:16 GMT
Updated Branches:
  refs/heads/master d8039257e -> b39229a00


updating tests following plugin label name change


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

Branch: refs/heads/master
Commit: b39229a0006445fac44ed3cf0bdafc3439d411fb
Parents: d803925
Author: Fil Maj <maj.fil@gmail.com>
Authored: Wed Mar 28 13:45:02 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Wed Mar 28 13:45:02 2012 -0700

----------------------------------------------------------------------
 test/test.network.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/b39229a0/test/test.network.js
----------------------------------------------------------------------
diff --git a/test/test.network.js b/test/test.network.js
index da11ffc..613f732 100644
--- a/test/test.network.js
+++ b/test/test.network.js
@@ -7,7 +7,7 @@ describe("network", function () {
 
         network = require('cordova/plugin/network');
 
-        expect(exec).toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function), "Network
Status", "getConnectionInfo", []);
+        expect(exec).toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function), "NetworkStatus",
"getConnectionInfo", []);
     });
 
     //TODO: There is a lot of code executed on the first require call to this plugin
@@ -22,6 +22,6 @@ describe("network", function () {
             error = jasmine.createSpy();
 
         network.getInfo(success, error);
-        expect(exec).toHaveBeenCalledWith(success, error, "Network Status", "getConnectionInfo",
[]);
+        expect(exec).toHaveBeenCalledWith(success, error, "NetworkStatus", "getConnectionInfo",
[]);
     });
 });


Mime
View raw message