Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed linter error.
  • Loading branch information
nventuro committed Sep 7, 2018
commit 4abfb7254281990d2d8f61d38b3287509ef2af5c
4 changes: 2 additions & 2 deletions test/access/roles/PublicRole.behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ function shouldBehaveLikePublicRole (authorized, otherAuthorized, [anyone], role

it('allows access', async function () {
await this.contract[`only${rolename}Mock`]({ from });
})
});
});

context('from unauthorized account', function () {
const from = anyone;

it('reverts', async function () {
await assertRevert(this.contract[`only${rolename}Mock`]({ from }));
})
});
});
});

Expand Down