Documentation - coupon

closes #8109
This commit is contained in:
MathWhiz
2016-10-07 09:26:38 -04:00
committed by Blade Barringer
parent 9615a332a5
commit d4aac1ee4b
2 changed files with 25 additions and 16 deletions

View File

@@ -29,14 +29,6 @@ describe('POST /coupons/generate/:event', () => {
});
});
it('returns an error if event is missing', async () => {
await expect(user.post('/coupons/generate')).to.eventually.be.rejected.and.eql({
code: 404,
error: 'NotFound',
message: 'Not found.',
});
});
it('returns an error if event is invalid', async () => {
await expect(user.post('/coupons/generate/notValid?count=1')).to.eventually.be.rejected.and.eql({
code: 400,