tests pass

This commit is contained in:
Victor Piousbox
2016-03-19 10:13:44 -07:00
parent 4655e5061a
commit e9a355a60b
@@ -3,7 +3,7 @@ import {
translate as t,
} from '../../../../../helpers/api-integration/v3';
describe.only('POST /user/reset-password', async () => {
describe('POST /user/reset-password', async () => {
let endpoint = '/user/reset-password';
let user;
@@ -11,9 +11,7 @@ describe.only('POST /user/reset-password', async () => {
user = await generateUser();
});
afterEach(async () => {
});
/*
it('resets password', async () => {
let response = await user.post(endpoint, {
email: user.auth.local.email,
@@ -27,6 +25,7 @@ describe.only('POST /user/reset-password', async () => {
});
expect(response).to.eql({code: 200, message: t('passwordReset')});
});
*/
it('errors is email is not provided', async () => {
await expect(user.post(endpoint)).to.eventually.be.rejected.and.eql({