Browse Source

fix: TokenDestructible typo fron->from

Matt Condon 7 years ago
parent
commit
7aa6f21147
1 changed files with 4 additions and 1 deletions
  1. 4 1
      test/TokenDestructible.test.js

+ 4 - 1
test/TokenDestructible.test.js

@@ -7,7 +7,10 @@ contract('TokenDestructible', function (accounts) {
   let destructible;
 
   beforeEach(async function () {
-    destructible = await TokenDestructible.new({ fron: accounts[0], value: web3.toWei('10', 'ether') });
+    destructible = await TokenDestructible.new({
+      from: accounts[0],
+      value: web3.toWei('10', 'ether'),
+    });
   });
 
   it('should send balance to owner after destruction', async function () {