0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Tests: Renamed unit/server_helpers to unit/helpers (#9145)

no issue

- nothing to explain 😁
This commit is contained in:
Katharina Irrgang 2017-10-19 13:02:21 +02:00 committed by Hannah Wolfe
parent d4b6390fd6
commit bfade9f50d
33 changed files with 3 additions and 3 deletions

View file

@ -540,7 +540,7 @@ var overrides = require('./core/server/overrides'),
//
// This also works for folders (although it isn't recursive), E.g.
//
// `grunt test:unit/server_helpers`
// `grunt test:unit/helpers`
//
// Unit tests are run with [mocha](http://mochajs.org/) using
// [should](https://github.com/visionmedia/should.js) to describe the tests in a highly readable style.

View file

@ -186,7 +186,7 @@ describe('{{navigation}} helper with custom template', function () {
before(function (done) {
hbs.express3({
partialsDir: [path.resolve(configUtils.config.get('paths').corePath, 'test/unit/server_helpers/test_tpl')]
partialsDir: [path.resolve(configUtils.config.get('paths').corePath, 'test/unit/helpers/test_tpl')]
});
hbs.cachePartials(function () {

View file

@ -123,7 +123,7 @@ describe('{{pagination}} helper', function () {
describe('{{pagination}} helper with custom template', function () {
before(function (done) {
hbs.express3({partialsDir: [path.resolve(configUtils.config.get('paths').corePath, 'test/unit/server_helpers/test_tpl')]});
hbs.express3({partialsDir: [path.resolve(configUtils.config.get('paths').corePath, 'test/unit/helpers/test_tpl')]});
hbs.cachePartials(function () {
done();