You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/03/04 20:32:51 UTC

[74/91] [abbrv] git commit: bumping shelljs to 0.1.x and de-asyncing one of the tests as a weird way of making it work...

bumping shelljs to 0.1.x and de-asyncing one of the tests as a weird way of making it work...


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/52295fad
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/52295fad
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/52295fad

Branch: refs/heads/master
Commit: 52295fada4e8000ae3bf1760fb7c35a3ab76c7b4
Parents: acd44cd
Author: Fil Maj <ma...@gmail.com>
Authored: Mon Feb 4 14:46:23 2013 -0800
Committer: Fil Maj <ma...@gmail.com>
Committed: Mon Feb 4 14:46:23 2013 -0800

----------------------------------------------------------------------
 package.json        |    2 +-
 test/ios-install.js |    7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/52295fad/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 1baaf38..cb1a3ad 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
     "xcode": "git+https://github.com/imhotep/node-xcode.git",
     "plist": "0.4.x",
     "bplist-parser": "0.0.x",
-    "shelljs": "0.0.x",
+    "shelljs": "0.1.x",
     "osenv": "0.0.x"
   },
   "devDependencies": {

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/52295fad/test/ios-install.js
----------------------------------------------------------------------
diff --git a/test/ios-install.js b/test/ios-install.js
index 25e5075..ff3c26d 100644
--- a/test/ios-install.js
+++ b/test/ios-install.js
@@ -56,11 +56,8 @@ exports['should move the js file'] = function (test) {
     ios.handlePlugin('install', test_project_dir, test_plugin_dir, plugin_et);
 
     var jsPath = path.join(test_dir, 'projects', 'ios', 'www', 'childbrowser.js');
-    fs.stat(jsPath, function(err, stats) {
-        test.ok(!err);
-        test.ok(stats.isFile());
-        test.done();
-    });
+    test.ok(fs.existsSync(jsPath));
+    test.done();
 }
 
 exports['should move the source files'] = function (test) {