Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Fix promise require issue in tests.
Browse files Browse the repository at this point in the history
* Fix issue with incorrect link paths.
  • Loading branch information
ducksoupdev committed Feb 26, 2015
1 parent 1d6191c commit a83052a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions gulp/lib/compile-home.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
// update the resource paths
nextPosts.forEach(function(post) {
post.description = resolvePaths.resolve(post.meta.body, '../..');
post.url = '../../' + post.meta.slug;
});

// create custom template data for this paginated page
Expand Down
1 change: 1 addition & 0 deletions gulp/lib/compile-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
// update the resource paths
nextPosts.forEach(function(post) {
post.description = resolvePaths.resolve(post.meta.body, '../../..');
post.url = '../../../' + post.meta.slug;
});

// create custom template data for this paginated page
Expand Down
2 changes: 1 addition & 1 deletion gulp/tests/compile-dates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
removeDir = require('../lib/remove-dir'),
expect = require('chai').expect,
mockery = require('mockery'),
Promise = require('promise'),
Promise = require('bluebird'),
sinon = require('sinon'),
fs = require('fs');

Expand Down
1 change: 0 additions & 1 deletion gulp/tests/compile-home.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
removeDir = require('../lib/remove-dir'),
expect = require('chai').expect,
mockery = require('mockery'),
Promise = require('promise'),
sinon = require('sinon'),
Promise = require('bluebird'),
fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion gulp/tests/compile-pages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
removeDir = require('../lib/remove-dir'),
expect = require('chai').expect,
mockery = require('mockery'),
Promise = require('promise'),
Promise = require('bluebird'),
sinon = require('sinon'),
fs = require('fs');

Expand Down
2 changes: 1 addition & 1 deletion gulp/tests/compile-tags.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
removeDir = require('../lib/remove-dir'),
expect = require('chai').expect,
mockery = require('mockery'),
Promise = require('promise'),
Promise = require('bluebird'),
sinon = require('sinon'),
fs = require('fs');

Expand Down

0 comments on commit a83052a

Please sign in to comment.