From ba85aef95e63bc478940eb4941ea8e31b826f56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Fri, 3 Aug 2018 14:41:54 -0300 Subject: [PATCH] Renamed behaviour to behavior. (#1151) --- test/ReentrancyGuard.test.js | 2 +- ...edCrowdsale.behaviour.js => MintedCrowdsale.behavior.js} | 0 test/crowdsale/MintedCrowdsale.test.js | 2 +- .../ownership/{Ownable.behaviour.js => Ownable.behavior.js} | 0 test/ownership/Ownable.test.js | 2 +- test/payment/ConditionalEscrow.test.js | 2 +- test/payment/{Escrow.behaviour.js => Escrow.behavior.js} | 0 test/payment/Escrow.test.js | 2 +- ...BurnableToken.behaviour.js => BurnableToken.behavior.js} | 0 test/token/ERC20/BurnableToken.test.js | 2 +- .../{CappedToken.behaviour.js => CappedToken.behavior.js} | 0 test/token/ERC20/CappedToken.test.js | 4 ++-- ...MintableToken.behaviour.js => MintableToken.behavior.js} | 0 test/token/ERC20/MintableToken.test.js | 2 +- test/token/ERC20/RBACCappedToken.test.js | 6 +++--- ...ableToken.behaviour.js => RBACMintableToken.behavior.js} | 0 test/token/ERC20/RBACMintableToken.test.js | 4 ++-- ...BasicToken.behaviour.js => ERC721BasicToken.behavior.js} | 0 test/token/ERC721/ERC721BasicToken.test.js | 4 ++-- ...C721MintBurn.behaviour.js => ERC721MintBurn.behavior.js} | 0 test/token/ERC721/ERC721Token.test.js | 4 ++-- 21 files changed, 18 insertions(+), 18 deletions(-) rename test/crowdsale/{MintedCrowdsale.behaviour.js => MintedCrowdsale.behavior.js} (100%) rename test/ownership/{Ownable.behaviour.js => Ownable.behavior.js} (100%) rename test/payment/{Escrow.behaviour.js => Escrow.behavior.js} (100%) rename test/token/ERC20/{BurnableToken.behaviour.js => BurnableToken.behavior.js} (100%) rename test/token/ERC20/{CappedToken.behaviour.js => CappedToken.behavior.js} (100%) rename test/token/ERC20/{MintableToken.behaviour.js => MintableToken.behavior.js} (100%) rename test/token/ERC20/{RBACMintableToken.behaviour.js => RBACMintableToken.behavior.js} (100%) rename test/token/ERC721/{ERC721BasicToken.behaviour.js => ERC721BasicToken.behavior.js} (100%) rename test/token/ERC721/{ERC721MintBurn.behaviour.js => ERC721MintBurn.behavior.js} (100%) diff --git a/test/ReentrancyGuard.test.js b/test/ReentrancyGuard.test.js index 564edbd1b..b53498a10 100644 --- a/test/ReentrancyGuard.test.js +++ b/test/ReentrancyGuard.test.js @@ -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. diff --git a/test/crowdsale/MintedCrowdsale.behaviour.js b/test/crowdsale/MintedCrowdsale.behavior.js similarity index 100% rename from test/crowdsale/MintedCrowdsale.behaviour.js rename to test/crowdsale/MintedCrowdsale.behavior.js diff --git a/test/crowdsale/MintedCrowdsale.test.js b/test/crowdsale/MintedCrowdsale.test.js index b07f52f7f..94c50eccd 100644 --- a/test/crowdsale/MintedCrowdsale.test.js +++ b/test/crowdsale/MintedCrowdsale.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeMintedCrowdsale } = require('./MintedCrowdsale.behaviour'); +const { shouldBehaveLikeMintedCrowdsale } = require('./MintedCrowdsale.behavior'); const { ether } = require('../helpers/ether'); const BigNumber = web3.BigNumber; diff --git a/test/ownership/Ownable.behaviour.js b/test/ownership/Ownable.behavior.js similarity index 100% rename from test/ownership/Ownable.behaviour.js rename to test/ownership/Ownable.behavior.js diff --git a/test/ownership/Ownable.test.js b/test/ownership/Ownable.test.js index d93446682..9b9c1bf3e 100644 --- a/test/ownership/Ownable.test.js +++ b/test/ownership/Ownable.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeOwnable } = require('./Ownable.behaviour'); +const { shouldBehaveLikeOwnable } = require('./Ownable.behavior'); const Ownable = artifacts.require('Ownable'); diff --git a/test/payment/ConditionalEscrow.test.js b/test/payment/ConditionalEscrow.test.js index c1191c02a..5115fee48 100644 --- a/test/payment/ConditionalEscrow.test.js +++ b/test/payment/ConditionalEscrow.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeEscrow } = require('./Escrow.behaviour'); +const { shouldBehaveLikeEscrow } = require('./Escrow.behavior'); const { expectThrow } = require('../helpers/expectThrow'); const { EVMRevert } = require('../helpers/EVMRevert'); diff --git a/test/payment/Escrow.behaviour.js b/test/payment/Escrow.behavior.js similarity index 100% rename from test/payment/Escrow.behaviour.js rename to test/payment/Escrow.behavior.js diff --git a/test/payment/Escrow.test.js b/test/payment/Escrow.test.js index 73d3aac0e..a67b26417 100644 --- a/test/payment/Escrow.test.js +++ b/test/payment/Escrow.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeEscrow } = require('./Escrow.behaviour'); +const { shouldBehaveLikeEscrow } = require('./Escrow.behavior'); const Escrow = artifacts.require('Escrow'); diff --git a/test/token/ERC20/BurnableToken.behaviour.js b/test/token/ERC20/BurnableToken.behavior.js similarity index 100% rename from test/token/ERC20/BurnableToken.behaviour.js rename to test/token/ERC20/BurnableToken.behavior.js diff --git a/test/token/ERC20/BurnableToken.test.js b/test/token/ERC20/BurnableToken.test.js index a636bc84c..0622a48b6 100644 --- a/test/token/ERC20/BurnableToken.test.js +++ b/test/token/ERC20/BurnableToken.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behaviour'); +const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behavior'); const BurnableTokenMock = artifacts.require('BurnableTokenMock'); contract('BurnableToken', function ([_, owner, ...otherAccounts]) { diff --git a/test/token/ERC20/CappedToken.behaviour.js b/test/token/ERC20/CappedToken.behavior.js similarity index 100% rename from test/token/ERC20/CappedToken.behaviour.js rename to test/token/ERC20/CappedToken.behavior.js diff --git a/test/token/ERC20/CappedToken.test.js b/test/token/ERC20/CappedToken.test.js index dcc912d98..3545c1288 100644 --- a/test/token/ERC20/CappedToken.test.js +++ b/test/token/ERC20/CappedToken.test.js @@ -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'); diff --git a/test/token/ERC20/MintableToken.behaviour.js b/test/token/ERC20/MintableToken.behavior.js similarity index 100% rename from test/token/ERC20/MintableToken.behaviour.js rename to test/token/ERC20/MintableToken.behavior.js diff --git a/test/token/ERC20/MintableToken.test.js b/test/token/ERC20/MintableToken.test.js index c5303b8cf..c06380a80 100644 --- a/test/token/ERC20/MintableToken.test.js +++ b/test/token/ERC20/MintableToken.test.js @@ -1,4 +1,4 @@ -const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour'); +const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior'); const MintableToken = artifacts.require('MintableToken'); contract('MintableToken', function ([_, owner, ...otherAccounts]) { diff --git a/test/token/ERC20/RBACCappedToken.test.js b/test/token/ERC20/RBACCappedToken.test.js index 284100f3d..3cd6ed917 100644 --- a/test/token/ERC20/RBACCappedToken.test.js +++ b/test/token/ERC20/RBACCappedToken.test.js @@ -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'); diff --git a/test/token/ERC20/RBACMintableToken.behaviour.js b/test/token/ERC20/RBACMintableToken.behavior.js similarity index 100% rename from test/token/ERC20/RBACMintableToken.behaviour.js rename to test/token/ERC20/RBACMintableToken.behavior.js diff --git a/test/token/ERC20/RBACMintableToken.test.js b/test/token/ERC20/RBACMintableToken.test.js index a3a5fae46..839b73db8 100644 --- a/test/token/ERC20/RBACMintableToken.test.js +++ b/test/token/ERC20/RBACMintableToken.test.js @@ -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'); diff --git a/test/token/ERC721/ERC721BasicToken.behaviour.js b/test/token/ERC721/ERC721BasicToken.behavior.js similarity index 100% rename from test/token/ERC721/ERC721BasicToken.behaviour.js rename to test/token/ERC721/ERC721BasicToken.behavior.js diff --git a/test/token/ERC721/ERC721BasicToken.test.js b/test/token/ERC721/ERC721BasicToken.test.js index 229af8730..4525c7dc5 100644 --- a/test/token/ERC721/ERC721BasicToken.test.js +++ b/test/token/ERC721/ERC721BasicToken.test.js @@ -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'); diff --git a/test/token/ERC721/ERC721MintBurn.behaviour.js b/test/token/ERC721/ERC721MintBurn.behavior.js similarity index 100% rename from test/token/ERC721/ERC721MintBurn.behaviour.js rename to test/token/ERC721/ERC721MintBurn.behavior.js diff --git a/test/token/ERC721/ERC721Token.test.js b/test/token/ERC721/ERC721Token.test.js index bdeeff5fb..74ce533c0 100644 --- a/test/token/ERC721/ERC721Token.test.js +++ b/test/token/ERC721/ERC721Token.test.js @@ -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');