You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/11/28 19:10:04 UTC

ios commit: CB-12190 - create.spec tests fail when a device is connected

Repository: cordova-ios
Updated Branches:
  refs/heads/master 923213f1a -> 40e35ca01


CB-12190 - create.spec tests fail when a device is connected


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/40e35ca0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/40e35ca0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/40e35ca0

Branch: refs/heads/master
Commit: 40e35ca013788d5a8de86f59ab238b95a35b8c4d
Parents: 923213f
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Nov 28 11:09:59 2016 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Nov 28 11:09:59 2016 -0800

----------------------------------------------------------------------
 tests/spec/create.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/40e35ca0/tests/spec/create.spec.js
----------------------------------------------------------------------
diff --git a/tests/spec/create.spec.js b/tests/spec/create.spec.js
index f5b399a..07a2bff 100644
--- a/tests/spec/create.spec.js
+++ b/tests/spec/create.spec.js
@@ -40,7 +40,7 @@ function createAndBuild(projectname, projectid) {
     expect(return_code).toBe(0);
 
     // build the project
-    command = util.format('"%s/cordova/build"', path.join(tmp, projectname));
+    command = util.format('"%s/cordova/build" --emulator', path.join(tmp, projectname));
     shell.echo(command);
     return_code = shell.exec(command, { silent: true }).code;
     expect(return_code).toBe(0);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org