Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C4739685 for ; Wed, 28 Mar 2012 20:44:16 +0000 (UTC) Received: (qmail 58479 invoked by uid 500); 28 Mar 2012 20:44:16 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 58440 invoked by uid 500); 28 Mar 2012 20:44:16 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 58433 invoked by uid 99); 28 Mar 2012 20:44:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 20:44:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 37F929C12; Wed, 28 Mar 2012 20:44:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: updating tests following plugin label name change Message-Id: <20120328204416.37F929C12@tyr.zones.apache.org> Date: Wed, 28 Mar 2012 20:44:16 +0000 (UTC) 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 Authored: Wed Mar 28 13:45:02 2012 -0700 Committer: Fil Maj 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", []); }); });