mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Moved test/unit/api/decorators
no issue - to test/unit/api/v0.1/decorators/urls_spec
This commit is contained in:
parent
f78d9d3914
commit
80b963fb5a
1 changed files with 4 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
|||
const url = require('url');
|
||||
const should = require('should');
|
||||
const sinon = require('sinon');
|
||||
const testUtils = require('../../../utils');
|
||||
const urlService = require('../../../../server/services/url');
|
||||
const urls = require('../../../../server/api/v0.1/decorators/urls');
|
||||
const testUtils = require('../../../../utils');
|
||||
const urlService = require('../../../../../server/services/url');
|
||||
const urls = require('../../../../../server/api/v0.1/decorators/urls');
|
||||
|
||||
const sandbox = sinon.sandbox.create();
|
||||
|
||||
describe('API:decorators:urls', function () {
|
||||
describe('Unit: api:v0.1:decorators:urls', function () {
|
||||
beforeEach(function () {
|
||||
sandbox.stub(urlService, 'getUrlByResourceId');
|
||||
});
|
Loading…
Add table
Reference in a new issue