cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [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...
Date Mon, 04 Mar 2013 19:32:51 GMT
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 <maj.fil@gmail.com>
Authored: Mon Feb 4 14:46:23 2013 -0800
Committer: Fil Maj <maj.fil@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) {


Mime
View raw message