Rename the proposals tests to drafts (#1279)
This commit is contained in:
committed by
Francisco Giordano
parent
4eb4d7114d
commit
d6c7700f4c
16
test/drafts/ERC1046/TokenMetadata.test.js
Normal file
16
test/drafts/ERC1046/TokenMetadata.test.js
Normal file
@ -0,0 +1,16 @@
|
||||
const ERC20WithMetadata = artifacts.require('ERC20WithMetadataMock');
|
||||
|
||||
require('chai')
|
||||
.should();
|
||||
|
||||
const metadataURI = 'https://example.com';
|
||||
|
||||
describe('ERC20WithMetadata', function () {
|
||||
beforeEach(async function () {
|
||||
this.token = await ERC20WithMetadata.new(metadataURI);
|
||||
});
|
||||
|
||||
it('responds with the metadata', async function () {
|
||||
(await this.token.tokenURI()).should.equal(metadataURI);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user