Skip to content

Commit

Permalink
🚨 fix admin_spec && module_spec
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
kirrg001 authored and ErisDS committed Sep 20, 2016
1 parent 231fea4 commit 79bf09a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions core/test/functional/module/module_spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
// # Module tests
// This tests using Ghost as an npm module
var should = require('should'),
testUtils = require('../../utils'),
ghost = require('../../../../core'),
i18n = require('../../../../core/server/i18n');

i18n.init();

describe('Module', function () {
before(testUtils.teardown);

describe('Setup', function () {
it('should resolve with a ghost-server instance', function (done) {
ghost().then(function (ghostServer) {
Expand Down
3 changes: 2 additions & 1 deletion core/test/functional/routes/admin_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

var request = require('supertest'),
should = require('should'),

testUtils = require('../../utils'),
ghost = require('../../../../core'),
i18n = require('../../../../core/server/i18n'),
Expand Down Expand Up @@ -41,6 +40,8 @@ describe('Admin Routing', function () {
};
}

before(testUtils.teardown);

before(function (done) {
ghost().then(function (ghostServer) {
// Setup the request object with the ghost express app
Expand Down

0 comments on commit 79bf09a

Please sign in to comment.