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/03/28 22:44:16 UTC

git commit: updating tests following plugin label name change

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 <ma...@gmail.com>
Authored: Wed Mar 28 13:45:02 2012 -0700
Committer: Fil Maj <ma...@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", []);
     });
 });