Files
openzeppelin-contracts/test/drafts/ERC1046/TokenMetadata.test.js
Martín 4b21fcf5af Add Mock suffix to variable names #1172 (#1324)
* Add Mock suffix to variable names #1172

* Add Impl suffix to variable names
2018-09-18 16:24:51 -03:00

17 lines
422 B
JavaScript

const ERC20WithMetadataMock = artifacts.require('ERC20WithMetadataMock');
require('chai')
.should();
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);
});
});