cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: CB-5106: removed flood of cp error messages when running tests
Date Sun, 20 Oct 2013 01:33:17 GMT
Updated Branches:
  refs/heads/master 3a6ac4da1 -> 6502c5479


CB-5106: removed flood of cp error messages when running tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/6502c547
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/6502c547
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/6502c547

Branch: refs/heads/master
Commit: 6502c5479d31f61640a0a541009cb5a0477134ba
Parents: 3a6ac4d
Author: Steven Gill <stevengill97@gmail.com>
Authored: Sat Oct 19 18:33:02 2013 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Sat Oct 19 18:33:02 2013 -0700

----------------------------------------------------------------------
 spec/prepare.spec.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/6502c547/spec/prepare.spec.js
----------------------------------------------------------------------
diff --git a/spec/prepare.spec.js b/spec/prepare.spec.js
index 694e275..8012924 100644
--- a/spec/prepare.spec.js
+++ b/spec/prepare.spec.js
@@ -43,6 +43,7 @@ describe('prepare command', function() {
         plugman_prepare,
         find_plugins,
         plugman_get_json,
+        cp,
         load;
     beforeEach(function() {
         is_cordova = spyOn(util, 'isCordova').andReturn(project_dir);
@@ -65,6 +66,7 @@ describe('prepare command', function() {
         find_plugins = spyOn(util, 'findPlugins').andReturn([]);
         plugman_get_json = spyOn(plugman.config_changes, 'get_platform_json').andReturn({});
         load = spyOn(lazy_load, 'based_on_config').andReturn(Q());
+        cp = spyOn(shell, 'cp').andReturn(true);
     });
 
     describe('failure', function() {


Mime
View raw message