Skip to content

Commit

Permalink
Rename tests title
Browse files Browse the repository at this point in the history
  • Loading branch information
ricp committed Sep 18, 2022
1 parent f88ca76 commit 89b9385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe("Supreme Bank Token", function () {
expect(await token.hasRole(ROLE, accountOne.address)).to.equal(true);
});

it("should not allow admins to take leadership!", async () => {
it("should not allow admins to update leader!", async () => {
expect(await token.hasRole(AML_ROLE, admin.address)).to.equal(true);

const currentLeader = await token.leaderAddress();
Expand All @@ -173,7 +173,7 @@ describe("Supreme Bank Token", function () {
expect(newLeader).to.equal(currentLeader);
});

it("should not allow non-admins to take leadership!", async () => {
it("should not allow non-admins to update leader!", async () => {
const currentLeader = await token.leaderAddress();

await expect(
Expand Down

0 comments on commit 89b9385

Please sign in to comment.