mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
43 lines
786 B
JavaScript
43 lines
786 B
JavaScript
|
|
describe('routes: `/routes`', () => {
|
|
describe('POST: `/routes`', () => {
|
|
it('Should create a new user if the user was not authorized.', () => {
|
|
|
|
});
|
|
|
|
it('Should `email` be required.', () => {
|
|
|
|
});
|
|
|
|
it('Should `password` be required.', () => {
|
|
|
|
});
|
|
|
|
it('Should `status` be boolean', () => {
|
|
|
|
});
|
|
});
|
|
|
|
describe('DELETE: `/users/:id`', () => {
|
|
it('Should not success if the user was not authorized.', () => {
|
|
|
|
});
|
|
|
|
it('Should not success if the user was pre-defined user.', () => {
|
|
|
|
});
|
|
|
|
it('Should response not found if the user was not exist.', () => {
|
|
|
|
});
|
|
|
|
it('Should response success if the user was exist.', () => {
|
|
|
|
});
|
|
|
|
it('Should delete the give user after success response.', () => {
|
|
|
|
});
|
|
});
|
|
});
|