@@ -61,7 +61,7 @@ contract('Orchestrator', function (accounts) {
61
61
} ) ;
62
62
63
63
it ( 'should have no transactions' , async function ( ) {
64
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 0 ) ;
64
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 0 ) ;
65
65
} ) ;
66
66
67
67
it ( 'should call rebase on policy' , async function ( ) {
@@ -84,7 +84,7 @@ contract('Orchestrator', function (accounts) {
84
84
} ) ;
85
85
86
86
it ( 'should have 1 transaction' , async function ( ) {
87
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 1 ) ;
87
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 1 ) ;
88
88
} ) ;
89
89
90
90
it ( 'should call rebase on policy' , async function ( ) {
@@ -120,7 +120,7 @@ contract('Orchestrator', function (accounts) {
120
120
} ) ;
121
121
122
122
it ( 'should have 2 transactions' , async function ( ) {
123
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 2 ) ;
123
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 2 ) ;
124
124
} ) ;
125
125
126
126
it ( 'should call rebase on policy' , async function ( ) {
@@ -168,7 +168,7 @@ contract('Orchestrator', function (accounts) {
168
168
} ) ;
169
169
170
170
it ( 'should have 2 transactions' , async function ( ) {
171
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 2 ) ;
171
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 2 ) ;
172
172
} ) ;
173
173
174
174
it ( 'should call rebase on policy' , async function ( ) {
@@ -203,7 +203,7 @@ contract('Orchestrator', function (accounts) {
203
203
} ) ;
204
204
205
205
it ( 'should have 1 transaction' , async function ( ) {
206
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 1 ) ;
206
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 1 ) ;
207
207
} ) ;
208
208
209
209
it ( 'should call rebase on policy' , async function ( ) {
@@ -238,7 +238,7 @@ contract('Orchestrator', function (accounts) {
238
238
} ) ;
239
239
240
240
it ( 'should have 0 transactions' , async function ( ) {
241
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 0 ) ;
241
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 0 ) ;
242
242
} ) ;
243
243
244
244
it ( 'should call rebase on policy' , async function ( ) {
@@ -267,7 +267,7 @@ contract('Orchestrator', function (accounts) {
267
267
} ) ;
268
268
269
269
it ( 'should have 3 transactions' , async function ( ) {
270
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . eq ( 3 ) ;
270
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . eq ( 3 ) ;
271
271
} ) ;
272
272
273
273
it ( 'should call rebase on policy' , async function ( ) {
@@ -337,7 +337,7 @@ contract('Orchestrator', function (accounts) {
337
337
338
338
describe ( 'setTransactionEnabled' , async function ( ) {
339
339
it ( 'should be callable by owner' , async function ( ) {
340
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
340
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
341
341
expect (
342
342
await chain . isEthException (
343
343
orchestrator . setTransactionEnabled ( 0 , true , { from : deployer } )
@@ -346,7 +346,7 @@ contract('Orchestrator', function (accounts) {
346
346
} ) ;
347
347
348
348
it ( 'should be not be callable by others' , async function ( ) {
349
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
349
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
350
350
expect (
351
351
await chain . isEthException (
352
352
orchestrator . setTransactionEnabled ( 0 , true , { from : user } )
@@ -357,7 +357,7 @@ contract('Orchestrator', function (accounts) {
357
357
358
358
describe ( 'removeTransaction' , async function ( ) {
359
359
it ( 'should be not be callable by others' , async function ( ) {
360
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
360
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
361
361
expect (
362
362
await chain . isEthException (
363
363
orchestrator . removeTransaction ( 0 , { from : user } )
@@ -366,7 +366,7 @@ contract('Orchestrator', function (accounts) {
366
366
} ) ;
367
367
368
368
it ( 'should be callable by owner' , async function ( ) {
369
- ( await orchestrator . transactionsLength . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
369
+ ( await orchestrator . transactionsSize . call ( ) ) . should . be . bignumber . gt ( 0 ) ;
370
370
expect (
371
371
await chain . isEthException (
372
372
orchestrator . removeTransaction ( 0 , { from : deployer } )
0 commit comments