File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1264,11 +1264,11 @@ describe('Test axes', function() {
12641264 // way of getting a new clean copy each time.
12651265 function getDefaultAx ( ) {
12661266 return {
1267+ autorange : true ,
12671268 c2l : Number ,
12681269 type : 'linear' ,
12691270 _length : 100 ,
1270- _m : 1 ,
1271- _needsExpand : true
1271+ _m : 1
12721272 } ;
12731273 }
12741274
@@ -1284,15 +1284,14 @@ describe('Test axes', function() {
12841284
12851285 it ( 'calls ax.setScale if necessary' , function ( ) {
12861286 ax = {
1287+ autorange : true ,
12871288 c2l : Number ,
12881289 type : 'linear' ,
1289- setScale : function ( ) { } ,
1290- _needsExpand : true
1290+ setScale : function ( ) { }
12911291 } ;
12921292 spyOn ( ax , 'setScale' ) ;
1293- data = [ 1 ] ;
12941293
1295- expand ( ax , data ) ;
1294+ expand ( ax , [ 1 ] ) ;
12961295
12971296 expect ( ax . setScale ) . toHaveBeenCalled ( ) ;
12981297 } ) ;
You can’t perform that action at this time.
0 commit comments