@@ -61,7 +61,7 @@ contract('Orchestrator', function (accounts) {
6161 } ) ;
6262
6363 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 ) ;
6565 } ) ;
6666
6767 it ( 'should call rebase on policy' , async function ( ) {
@@ -84,7 +84,7 @@ contract('Orchestrator', function (accounts) {
8484 } ) ;
8585
8686 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 ) ;
8888 } ) ;
8989
9090 it ( 'should call rebase on policy' , async function ( ) {
@@ -120,7 +120,7 @@ contract('Orchestrator', function (accounts) {
120120 } ) ;
121121
122122 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 ) ;
124124 } ) ;
125125
126126 it ( 'should call rebase on policy' , async function ( ) {
@@ -168,7 +168,7 @@ contract('Orchestrator', function (accounts) {
168168 } ) ;
169169
170170 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 ) ;
172172 } ) ;
173173
174174 it ( 'should call rebase on policy' , async function ( ) {
@@ -203,7 +203,7 @@ contract('Orchestrator', function (accounts) {
203203 } ) ;
204204
205205 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 ) ;
207207 } ) ;
208208
209209 it ( 'should call rebase on policy' , async function ( ) {
@@ -238,7 +238,7 @@ contract('Orchestrator', function (accounts) {
238238 } ) ;
239239
240240 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 ) ;
242242 } ) ;
243243
244244 it ( 'should call rebase on policy' , async function ( ) {
@@ -267,7 +267,7 @@ contract('Orchestrator', function (accounts) {
267267 } ) ;
268268
269269 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 ) ;
271271 } ) ;
272272
273273 it ( 'should call rebase on policy' , async function ( ) {
@@ -337,7 +337,7 @@ contract('Orchestrator', function (accounts) {
337337
338338 describe ( 'setTransactionEnabled' , async function ( ) {
339339 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 ) ;
341341 expect (
342342 await chain . isEthException (
343343 orchestrator . setTransactionEnabled ( 0 , true , { from : deployer } )
@@ -346,7 +346,7 @@ contract('Orchestrator', function (accounts) {
346346 } ) ;
347347
348348 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 ) ;
350350 expect (
351351 await chain . isEthException (
352352 orchestrator . setTransactionEnabled ( 0 , true , { from : user } )
@@ -357,7 +357,7 @@ contract('Orchestrator', function (accounts) {
357357
358358 describe ( 'removeTransaction' , async function ( ) {
359359 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 ) ;
361361 expect (
362362 await chain . isEthException (
363363 orchestrator . removeTransaction ( 0 , { from : user } )
@@ -366,7 +366,7 @@ contract('Orchestrator', function (accounts) {
366366 } ) ;
367367
368368 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 ) ;
370370 expect (
371371 await chain . isEthException (
372372 orchestrator . removeTransaction ( 0 , { from : deployer } )
0 commit comments