@@ -65,7 +65,7 @@ describe('Kuzzle constructor', function () {
6565      should ( kuzzle ) . have . propertyWithDescriptor ( 'queueMaxSize' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
6666      should ( kuzzle ) . have . propertyWithDescriptor ( 'queueTTL' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
6767      should ( kuzzle ) . have . propertyWithDescriptor ( 'headers' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
68-       should ( kuzzle ) . have . propertyWithDescriptor ( 'metadata ' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
68+       should ( kuzzle ) . have . propertyWithDescriptor ( 'volatile ' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
6969      should ( kuzzle ) . have . propertyWithDescriptor ( 'replayInterval' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
7070      should ( kuzzle ) . have . propertyWithDescriptor ( 'reconnectionDelay' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
7171      should ( kuzzle ) . have . propertyWithDescriptor ( 'jwtToken' ,  {  enumerable : true ,  writable : true ,  configurable : false  } ) ; 
@@ -84,7 +84,7 @@ describe('Kuzzle constructor', function () {
8484      should ( kuzzle . queueTTL ) . be . exactly ( 120000 ) ; 
8585      should ( kuzzle . queueMaxSize ) . be . exactly ( 500 ) ; 
8686      should ( kuzzle . headers ) . be . an . Object ( ) . and . be . empty ( ) ; 
87-       should ( kuzzle . metadata ) . be . an . Object ( ) . and . be . empty ( ) ; 
87+       should ( kuzzle . volatile ) . be . an . Object ( ) . and . be . empty ( ) ; 
8888      should ( kuzzle . replayInterval ) . be . exactly ( 10 ) ; 
8989      should ( kuzzle . reconnectionDelay ) . be . exactly ( 1000 ) ; 
9090      should ( kuzzle . defaultIndex ) . be . undefined ( ) ; 
@@ -102,7 +102,7 @@ describe('Kuzzle constructor', function () {
102102          queueTTL : 123 , 
103103          queueMaxSize : 42 , 
104104          headers : { foo : 'bar' } , 
105-           metadata : { foo : [ 'bar' ,  'baz' ,  'qux' ] ,  bar : 'foo' } , 
105+           volatile : { foo : [ 'bar' ,  'baz' ,  'qux' ] ,  bar : 'foo' } , 
106106          replayInterval : 99999 , 
107107          reconnectionDelay : 666 , 
108108          defaultIndex : 'foobar' , 
@@ -119,7 +119,7 @@ describe('Kuzzle constructor', function () {
119119      should ( kuzzle . queueTTL ) . be . exactly ( options . queueTTL ) ; 
120120      should ( kuzzle . queueMaxSize ) . be . exactly ( options . queueMaxSize ) ; 
121121      should ( kuzzle . headers ) . be . an . Object ( ) . and . match ( options . headers ) ; 
122-       should ( kuzzle . metadata ) . be . an . Object ( ) . and . match ( options . metadata ) ; 
122+       should ( kuzzle . volatile ) . be . an . Object ( ) . and . match ( options . volatile ) ; 
123123      should ( kuzzle . replayInterval ) . be . exactly ( options . replayInterval ) ; 
124124      should ( kuzzle . reconnectionDelay ) . be . exactly ( options . reconnectionDelay ) ; 
125125      should ( kuzzle . port ) . be . exactly ( options . port ) ; 
0 commit comments