Rename AutoIncrementing to Counter (#1307)

This commit is contained in:
Leo Arias
2018-09-13 02:51:22 -06:00
committed by Nicolás Venturo
parent 225b492109
commit b4f87bb8fc
4 changed files with 34 additions and 33 deletions

View File

@ -1,4 +1,5 @@
const AutoIncrementing = artifacts.require('AutoIncrementingImpl');
const Counter = artifacts.require('CounterImpl');
require('chai')
.use(require('chai-bignumber')(web3.BigNumber))
@ -8,9 +9,9 @@ const EXPECTED = [1, 2, 3, 4];
const KEY1 = web3.sha3('key1');
const KEY2 = web3.sha3('key2');
contract('AutoIncrementing', function ([_, owner]) {
contract('Counter', function ([_, owner]) {
beforeEach(async function () {
this.mock = await AutoIncrementing.new({ from: owner });
this.mock = await Counter.new({ from: owner });
});
context('custom key', async function () {