123456789101112131415 |
- 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);
- });
- });
|