mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
17 lines
403 B
JavaScript
17 lines
403 B
JavaScript
// const { assertRevert } = require('./helpers/general')
|
|
|
|
const InstaMaker = artifacts.require('InstaMaker')
|
|
|
|
contract('InstaMaker', accounts => {
|
|
let instaMaker
|
|
|
|
beforeEach(async () => {
|
|
instaMaker = await InstaMaker.new(accounts[0])
|
|
})
|
|
|
|
it('should have an owner', async () => {
|
|
const addressRegistry = await instaMaker.addressRegistry()
|
|
assert.isTrue(addressRegistry == 0)
|
|
})
|
|
})
|