Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions contracts/mocks/RBACCappedTokenMock.sol

This file was deleted.

41 changes: 0 additions & 41 deletions contracts/token/ERC20/RBACMintableToken.sol

This file was deleted.

17 changes: 0 additions & 17 deletions test/crowdsale/MintedCrowdsale.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const BigNumber = web3.BigNumber;

const MintedCrowdsale = artifacts.require('MintedCrowdsaleImpl');
const MintableToken = artifacts.require('MintableToken');
const RBACMintableToken = artifacts.require('RBACMintableToken');

contract('MintedCrowdsale', function ([_, investor, wallet, purchaser]) {
const rate = new BigNumber(1000);
Expand All @@ -24,20 +23,4 @@ contract('MintedCrowdsale', function ([_, investor, wallet, purchaser]) {

shouldBehaveLikeMintedCrowdsale([_, investor, wallet, purchaser], rate, value);
});

describe('using RBACMintableToken', function () {
const ROLE_MINTER = 'minter';

beforeEach(async function () {
this.token = await RBACMintableToken.new();
this.crowdsale = await MintedCrowdsale.new(rate, wallet, this.token.address);
await this.token.addMinter(this.crowdsale.address);
});

it('should have minter role on token', async function () {
(await this.token.hasRole(this.crowdsale.address, ROLE_MINTER)).should.be.true;
});

shouldBehaveLikeMintedCrowdsale([_, investor, wallet, purchaser], rate, value);
});
});
19 changes: 0 additions & 19 deletions test/token/ERC20/RBACCappedToken.test.js

This file was deleted.

30 changes: 0 additions & 30 deletions test/token/ERC20/RBACMintableToken.behavior.js

This file was deleted.

14 changes: 0 additions & 14 deletions test/token/ERC20/RBACMintableToken.test.js

This file was deleted.