Renamed behaviour to behavior. (#1151)
This commit is contained in:
committed by
Francisco Giordano
parent
448a7b3048
commit
ba85aef95e
@ -16,7 +16,7 @@ contract('ReentrancyGuard', function () {
|
||||
await expectThrow(reentrancyMock.countAndCall(attacker.address));
|
||||
});
|
||||
|
||||
// The following are more side-effects than intended behaviour:
|
||||
// The following are more side-effects than intended behavior:
|
||||
// I put them here as documentation, and to monitor any changes
|
||||
// in the side-effects.
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeMintedCrowdsale } = require('./MintedCrowdsale.behaviour');
|
||||
const { shouldBehaveLikeMintedCrowdsale } = require('./MintedCrowdsale.behavior');
|
||||
const { ether } = require('../helpers/ether');
|
||||
|
||||
const BigNumber = web3.BigNumber;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeOwnable } = require('./Ownable.behaviour');
|
||||
const { shouldBehaveLikeOwnable } = require('./Ownable.behavior');
|
||||
|
||||
const Ownable = artifacts.require('Ownable');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeEscrow } = require('./Escrow.behaviour');
|
||||
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
|
||||
const { expectThrow } = require('../helpers/expectThrow');
|
||||
const { EVMRevert } = require('../helpers/EVMRevert');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeEscrow } = require('./Escrow.behaviour');
|
||||
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
|
||||
|
||||
const Escrow = artifacts.require('Escrow');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behaviour');
|
||||
const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behavior');
|
||||
const BurnableTokenMock = artifacts.require('BurnableTokenMock');
|
||||
|
||||
contract('BurnableToken', function ([_, owner, ...otherAccounts]) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const { ether } = require('../../helpers/ether');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
||||
const { shouldBehaveLikeCappedToken } = require('./CappedToken.behaviour');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
|
||||
const { shouldBehaveLikeCappedToken } = require('./CappedToken.behavior');
|
||||
|
||||
const CappedToken = artifacts.require('CappedToken');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
|
||||
const MintableToken = artifacts.require('MintableToken');
|
||||
|
||||
contract('MintableToken', function ([_, owner, ...otherAccounts]) {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
const { ether } = require('../../helpers/ether');
|
||||
const { shouldBehaveLikeRBACMintableToken } = require('./RBACMintableToken.behaviour');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
||||
const { shouldBehaveLikeCappedToken } = require('./CappedToken.behaviour');
|
||||
const { shouldBehaveLikeRBACMintableToken } = require('./RBACMintableToken.behavior');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
|
||||
const { shouldBehaveLikeCappedToken } = require('./CappedToken.behavior');
|
||||
|
||||
const RBACCappedTokenMock = artifacts.require('RBACCappedTokenMock');
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
const { shouldBehaveLikeRBACMintableToken } = require('./RBACMintableToken.behaviour');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
||||
const { shouldBehaveLikeRBACMintableToken } = require('./RBACMintableToken.behavior');
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
|
||||
|
||||
const RBACMintableToken = artifacts.require('RBACMintableToken');
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
const { shouldBehaveLikeERC721BasicToken } = require('./ERC721BasicToken.behaviour');
|
||||
const { shouldBehaveLikeMintAndBurnERC721Token } = require('./ERC721MintBurn.behaviour');
|
||||
const { shouldBehaveLikeERC721BasicToken } = require('./ERC721BasicToken.behavior');
|
||||
const { shouldBehaveLikeMintAndBurnERC721Token } = require('./ERC721MintBurn.behavior');
|
||||
|
||||
const BigNumber = web3.BigNumber;
|
||||
const ERC721BasicToken = artifacts.require('ERC721BasicTokenMock.sol');
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const { assertRevert } = require('../../helpers/assertRevert');
|
||||
const { shouldBehaveLikeERC721BasicToken } = require('./ERC721BasicToken.behaviour');
|
||||
const { shouldBehaveLikeMintAndBurnERC721Token } = require('./ERC721MintBurn.behaviour');
|
||||
const { shouldBehaveLikeERC721BasicToken } = require('./ERC721BasicToken.behavior');
|
||||
const { shouldBehaveLikeMintAndBurnERC721Token } = require('./ERC721MintBurn.behavior');
|
||||
const { shouldSupportInterfaces } = require('../../introspection/SupportsInterface.behavior');
|
||||
const _ = require('lodash');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user