You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/08/16 00:04:23 UTC

[2/4] git commit: Fixing failing tests: update_proj should be update_project

Fixing failing tests: update_proj should be update_project


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

Branch: refs/heads/master
Commit: 3d21ee9d268ff724bc678f05420c52915b3e6c7c
Parents: 2cf51ab
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Aug 15 14:29:45 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Aug 15 14:29:45 2014 -0700

----------------------------------------------------------------------
 cordova-lib/spec-cordova/metadata/windows8_parser.spec.js | 6 +++---
 cordova-lib/spec-cordova/metadata/wp8_parser.spec.js      | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/3d21ee9d/cordova-lib/spec-cordova/metadata/windows8_parser.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-cordova/metadata/windows8_parser.spec.js b/cordova-lib/spec-cordova/metadata/windows8_parser.spec.js
index 75b651c..7e03404 100644
--- a/cordova-lib/spec-cordova/metadata/windows8_parser.spec.js
+++ b/cordova-lib/spec-cordova/metadata/windows8_parser.spec.js
@@ -132,9 +132,9 @@ describe('windows8 project parser', function() {
             });
         });
         describe('update_www method', function() {
-            var update_proj;
+            var update_project;
             beforeEach(function() {
-                update_proj = spyOn(parser, 'update_proj');
+                update_project = spyOn(parser, 'update_project');
             });
             it('should rm project-level www and cp in platform agnostic www', function() {
                 parser.update_www(path.join('lib','dir'));
@@ -147,7 +147,7 @@ describe('windows8 project parser', function() {
             beforeEach(function() {
                 config = spyOn(parser, 'update_from_config');
                 www = spyOn(parser, 'update_www');
-                www = spyOn(parser, 'update_proj');
+                www = spyOn(parser, 'update_project');
                 shellls = spyOn(shell, 'ls').andReturn([]);
                 svn = spyOn(util, 'deleteSvnFolders');
                 exists.andReturn(false);

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/3d21ee9d/cordova-lib/spec-cordova/metadata/wp8_parser.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-cordova/metadata/wp8_parser.spec.js b/cordova-lib/spec-cordova/metadata/wp8_parser.spec.js
index 45c5e4a..2c5451c 100644
--- a/cordova-lib/spec-cordova/metadata/wp8_parser.spec.js
+++ b/cordova-lib/spec-cordova/metadata/wp8_parser.spec.js
@@ -147,9 +147,9 @@ describe('wp8 project parser', function() {
             });
         });
         describe('update_www method', function() {
-            var update_proj;
+            var update_project;
             beforeEach(function() {
-                update_proj = spyOn(p, 'update_proj');
+                update_project = spyOn(p, 'update_project');
             });
             it('should rm project-level www and cp in platform agnostic www', function() {
                 p.update_www();
@@ -158,12 +158,12 @@ describe('wp8 project parser', function() {
             });
         });
         describe('update_project method', function() {
-            var config, www, overrides, svn, csproj;
+            var config, www, overrides, svn, proj;
             beforeEach(function() {
                 config = spyOn(p, 'update_from_config');
                 www = spyOn(p, 'update_www');
                 svn = spyOn(util, 'deleteSvnFolders');
-                csproj = spyOn(p, 'update_proj');
+                proj = spyOn(p, 'update_project');
                 exists.andReturn(false);
             });
             it('should call update_from_config', function(done) {