write ownable simple test
This commit is contained in:
11
test/ownable.js
Normal file
11
test/ownable.js
Normal file
@ -0,0 +1,11 @@
|
||||
contract('Ownable', function(accounts) {
|
||||
it("should have an owner", function(done) {
|
||||
var ownable = Ownable.deployed();
|
||||
return ownable.owner()
|
||||
.then(function(owner) {
|
||||
assert.isTrue(owner != 0);
|
||||
})
|
||||
.then(done)
|
||||
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user