-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mike
committed
Aug 21, 2017
1 parent
7858665
commit 7646645
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
var Remittance = artifacts.require("./Remittance.sol"); | ||
|
||
contract('Remittance', function(accounts) { | ||
|
||
var contract; | ||
var fee = 300000 * 4000000 ; | ||
|
||
|
||
beforeEach(function() { | ||
return Remittance.new({from:owner}) | ||
.then(function(instance) { | ||
contract = instance; | ||
|
||
}); | ||
}); | ||
|
||
it("should say Hello", function() { | ||
assert.strictEqual(true,true,"Something is wrong."); | ||
}); | ||
|
||
it("should be owned by owner", function() { | ||
return contract.owner({from:owner}) | ||
.then(function(_owner) { | ||
assert.strictEqual(owner,_owner,"Contract is not owned by Owner."); | ||
|
||
}); | ||
|
||
}); | ||
|
||
|
||
}); |