You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
414 B
17 lines
414 B
7 years ago
|
const ERC20WithMetadata = artifacts.require('ERC20WithMetadataMock');
|
||
|
|
||
|
require('chai')
|
||
|
.should();
|
||
|
|
||
|
const metadataURI = 'https://example.com';
|
||
|
|
||
|
describe('ERC20WithMetadata', function () {
|
||
7 years ago
|
beforeEach(async function () {
|
||
7 years ago
|
this.token = await ERC20WithMetadata.new(metadataURI);
|
||
|
});
|
||
|
|
||
|
it('responds with the metadata', async function () {
|
||
7 years ago
|
(await this.token.tokenURI()).should.equal(metadataURI);
|
||
7 years ago
|
});
|
||
|
});
|