mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
27 lines
471 B
JavaScript
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.', () => {
|
|
|
|
});
|
|
});
|
|
});
|