Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21428F4F1 for ; Tue, 16 Apr 2013 23:16:05 +0000 (UTC) Received: (qmail 31949 invoked by uid 500); 16 Apr 2013 23:16:05 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 31930 invoked by uid 500); 16 Apr 2013 23:16:05 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 31921 invoked by uid 99); 16 Apr 2013 23:16:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 23:16:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B5D273609E; Tue, 16 Apr 2013 23:16:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: timkim@apache.org To: commits@cordova.apache.org Message-Id: <6abb5a6166fa4577804bddab4ccacb60@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Fixed up test for js file in ios config install Date: Tue, 16 Apr 2013 23:16:04 +0000 (UTC) Updated Branches: refs/heads/future 19c157a08 -> 0a97dc392 Fixed up test for js file in ios config install Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/0a97dc39 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/0a97dc39 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/0a97dc39 Branch: refs/heads/future Commit: 0a97dc39206158ac1ecd7bd9d17cf95a8ca5a0ea Parents: 19c157a Author: Tim Kim Authored: Tue Apr 16 16:15:58 2013 -0700 Committer: Tim Kim Committed: Tue Apr 16 16:15:58 2013 -0700 ---------------------------------------------------------------------- test/ios-config-xml-install.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/0a97dc39/test/ios-config-xml-install.js ---------------------------------------------------------------------- diff --git a/test/ios-config-xml-install.js b/test/ios-config-xml-install.js index 215c68b..5eef196 100644 --- a/test/ios-config-xml-install.js +++ b/test/ios-config-xml-install.js @@ -75,12 +75,12 @@ exports['should install webless plugin'] = function (test) { exports['should move the js file'] = function (test) { var pluginsPath = path.join(test_dir, 'plugins'); var wwwPath = path.join(test_dir, 'projects', 'ios-config-xml', 'www'); - var jsPath = path.join(test_dir, 'projects', 'ios-config-xml', 'www', 'childbrowser.js'); + var jsPath = path.join(test_dir, 'projects', 'ios-config-xml', 'www', 'plugins', 'com.phonegap.plugins.childbrowser', 'www', 'childbrowser.js'); // run the platform-specific function ios.handlePlugin('install', test_project_dir, test_plugin_dir, plugin_et, { APP_ID: 12345 }); plugin_loader.handlePrepare(test_project_dir, pluginsPath, wwwPath, 'ios'); - + test.ok(fs.existsSync(jsPath)); test.ok(fs.statSync(jsPath).isFile()); test.done();