Guest User

Untitled

a guest
Nov 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. it('should execute only by the owner', async()=>{
  2. await instance.changeName('modifier', {'from': accounts[1]});
  3. const value = await instance.getName();
  4.  
  5. assert.equal(value, 'modifier');
  6. })
Add Comment
Please, Sign In to add comment