Files
bigcapital/server/tests/routes/roles.test.js
2019-09-08 02:41:46 +02:00

27 lines
471 B
JavaScript

describe('routes: `/roles/`', () => {
describe('POST: `/roles/`', () => {
it('Should name be required.', () => {
});
it('Should `permissions` be ', () => {
});
it('Should response success with correct data format.', async () => {
});
it('Should save the given role details in the storage.', () => {
});
});
describe('DELETE: `/roles/:id`', () => {
it('Should not delete the predefined role.', () => {
});
});
});