Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it('should execute only by the owner', async()=>{
- await instance.changeName('modifier', {'from': accounts[1]});
- const value = await instance.getName();
- assert.equal(value, 'modifier');
- })
Add Comment
Please, Sign In to add comment