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:
parent
d4b6390fd6
commit
bfade9f50d
33 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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 () {
|
|
@ -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();
|
Loading…
Add table
Reference in a new issue