Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
frdmn committed Oct 24, 2018
1 parent 4f69bfa commit 01f80b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions test/channels.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,8 @@ describe("channels", function () {
readonlyChannel.channel.ro.should.equal(true);
});
});
});

describe("deleting channel", function () {
it("should delete the channel successfully", function (done) {
it("Deletes the channel", function (done) {
rocketChatClient.channels.delete(addedRoomId, function (err, result) {
should(err).be.null();
should(result).not.be.null();
Expand Down
4 changes: 1 addition & 3 deletions test/groups.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,8 @@ describe("groups", () => {
createGroupId = null;
});
});
});

describe("deleting group", function () {
it("should delete the group successfully", function (done) {
it("Deletes the group", function (done) {
rocketChatClient.groups.delete(createGroupId, function (err, result) {
should(err).be.null();
should(result).not.be.null();
Expand Down

0 comments on commit 01f80b1

Please sign in to comment.