0
Fork 0
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:
kirrg001 2018-10-04 19:09:52 +02:00
parent f78d9d3914
commit 80b963fb5a

View file

@ -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');
});