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.
15 lines
431 B
15 lines
431 B
require('openzeppelin-test-helpers');
|
|
|
|
const ERC20WithMetadataMock = artifacts.require('ERC20WithMetadataMock');
|
|
|
|
const metadataURI = 'https://example.com';
|
|
|
|
describe('ERC20WithMetadata', function () {
|
|
beforeEach(async function () {
|
|
this.token = await ERC20WithMetadataMock.new(metadataURI);
|
|
});
|
|
|
|
it('responds with the metadata', async function () {
|
|
(await this.token.tokenURI()).should.equal(metadataURI);
|
|
});
|
|
});
|
|
|