style: remove -> del
This commit is contained in:
@@ -172,13 +172,13 @@ describe('Groups', function () {
|
||||
|
||||
describe('delete', function () {
|
||||
it('cannot delete invalid group', async function () {
|
||||
const [error] = await safe(groups.remove('random'));
|
||||
const [error] = await safe(groups.del('random'));
|
||||
expect(error.reason).to.be(BoxError.NOT_FOUND);
|
||||
});
|
||||
|
||||
it('can delete valid group', async function () {
|
||||
await groups.setMembers(group0Object, [ admin.id, user.id ], {}); // ensure group has some members
|
||||
await groups.remove(group0Object.id);
|
||||
await groups.del(group0Object.id);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user