40cedb84ff
refs https://github.com/TryGhost/Team/issues/587 - This is first pass on the frontend limit-service integration. Max count queries are substituted with HTTP requests to mimick backend checks. Note, they are not meant to substitute backend checks only to suplment them.
18 lines
374 B
JavaScript
18 lines
374 B
JavaScript
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupTest} from 'ember-mocha';
|
|
|
|
describe('Unit | Service | limit', function () {
|
|
setupTest();
|
|
|
|
let limitService;
|
|
|
|
beforeEach(function () {
|
|
limitService = this.owner.lookup('service:limit');
|
|
});
|
|
|
|
it('exists', function () {
|
|
expect(limitService).to.be.ok;
|
|
});
|
|
});
|