* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* conflict fixes
* fixes #1205
* minor change
* suggested changes
* reviewed changes
* final update
16 lines
425 B
JavaScript
16 lines
425 B
JavaScript
const ERC20WithMetadataMock = artifacts.require('ERC20WithMetadataMock');
|
|
|
|
require('../../helpers/setup');
|
|
|
|
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);
|
|
});
|
|
});
|