cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [43/50] git commit: [Windows8] Fix failing test to match updated functionality
Date Fri, 05 Sep 2014 18:14:48 GMT
[Windows8] Fix failing test to match updated functionality


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/11e1c890
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/11e1c890
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/11e1c890

Branch: refs/heads/master
Commit: 11e1c890b09cd5d48f7241891af4786189bcc3a0
Parents: 35fe7cb
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Wed Sep 3 01:49:07 2014 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Fri Sep 5 11:12:20 2014 -0700

----------------------------------------------------------------------
 cordova-lib/spec-plugman/platforms/windows8.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/11e1c890/cordova-lib/spec-plugman/platforms/windows8.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-plugman/platforms/windows8.spec.js b/cordova-lib/spec-plugman/platforms/windows8.spec.js
index ee68bd8..fd550e9 100644
--- a/cordova-lib/spec-plugman/platforms/windows8.spec.js
+++ b/cordova-lib/spec-plugman/platforms/windows8.spec.js
@@ -108,7 +108,7 @@ describe('windows8 project handler', function() {
                 var source = copyArray(valid_source);
                 var s = spyOn(common, 'copyFile');
                 windows8['source-file'].install(source[0], dummyplugin, temp, dummy_id, proj_files);
-                expect(s).toHaveBeenCalledWith(dummyplugin, 'src/windows8/dummer.js', temp,
path.join('www', 'plugins', 'com.phonegap.plugins.dummyplugin', 'dummer.js'));
+                expect(s).toHaveBeenCalledWith(dummyplugin, 'src/windows8/dummer.js', temp,
path.join('plugins', 'com.phonegap.plugins.dummyplugin', 'dummer.js'));
             });
             it('should throw if source-file src cannot be found', function() {
                 var source = copyArray(invalid_source);
@@ -118,7 +118,7 @@ describe('windows8 project handler', function() {
             });
             it('should throw if source-file target already exists', function() {
                 var source = copyArray(valid_source);
-                var target = path.join(temp, 'www', 'plugins', dummy_id, 'dummer.js');
+                var target = path.join(temp, 'plugins', dummy_id, 'dummer.js');
                 shell.mkdir('-p', path.dirname(target));
                 fs.writeFileSync(target, 'some bs', 'utf-8');
                 expect(function() {
@@ -144,7 +144,7 @@ describe('windows8 project handler', function() {
                 .then(function() {
                     var source = copyArray(valid_source);
                     windows8['source-file'].uninstall(source[0], temp, dummy_id, proj_files);
-                    expect(s).toHaveBeenCalledWith(temp, path.join('www', 'plugins',  'com.phonegap.plugins.dummyplugin',
'dummer.js'));
+                    expect(s).toHaveBeenCalledWith(temp, path.join('plugins',  'com.phonegap.plugins.dummyplugin',
'dummer.js'));
                     done();
                 });
             });


Mime
View raw message