Skip to content

Commit

Permalink
Update tests to match improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
SomaticIT committed Nov 14, 2013
1 parent abab971 commit 372e598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions spec/metadata/windows8_parser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ describe('windows8 project parser', function() {
var config, www, overrides, staging, svn;
beforeEach(function() {
config = spyOn(p, 'update_from_config');
www = spyOn(p, 'update_www');
staging = spyOn(p, 'update_staging');
svn = spyOn(util, 'deleteSvnFolders');
});
Expand All @@ -243,10 +242,6 @@ describe('windows8 project parser', function() {
expect(err).toEqual(err);
});
});
it('should call update_www', function() {
p.update_project();
expect(www).toHaveBeenCalled();
});
it('should call update_staging', function() {
p.update_project();
expect(staging).toHaveBeenCalled();
Expand Down
4 changes: 2 additions & 2 deletions spec/platform.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ describe('platform command', function() {

fakeLazyLoad = function(id, platform, version) {
if (platform == 'wp7' || platform == 'wp8') {
return Q(path.join('lib', 'wp', id, version));
return Q(path.join('lib', 'wp', id, version, platform));
} else {
return Q(path.join('lib', platform, id, version));
return Q(path.join('lib', platform, id, version, platforms[platform] && platforms[platform].subdirectory ? platforms[platform].subdirectory : ''));
}
};
lazyLoadVersion = '3.1.0';
Expand Down

0 comments on commit 372e598

Please sign in to comment.