@@ -472,7 +472,7 @@ describe('config argument', function() {
472472 } ) ;
473473 } ) ;
474474
475- describe ( 'plotlyServerUrl :' , function ( ) {
475+ describe ( 'plotlyServerURL :' , function ( ) {
476476 var gd ;
477477 var form ;
478478
@@ -488,7 +488,7 @@ describe('config argument', function() {
488488 it ( 'should default to plotly cloud' , function ( done ) {
489489 Plotly . plot ( gd , [ ] , { } )
490490 . then ( function ( ) {
491- expect ( gd . _context . plotlyServerUrl ) . toBe ( 'https://plot.ly' ) ;
491+ expect ( gd . _context . plotlyServerURL ) . toBe ( 'https://plot.ly' ) ;
492492
493493 Plotly . Plots . sendDataToCloud ( gd ) ;
494494 expect ( form . action ) . toBe ( 'https://plot.ly/external' ) ;
@@ -499,9 +499,9 @@ describe('config argument', function() {
499499 } ) ;
500500
501501 it ( 'can be set to other base urls' , function ( done ) {
502- Plotly . plot ( gd , [ ] , { } , { plotlyServerUrl : 'dummy' } )
502+ Plotly . plot ( gd , [ ] , { } , { plotlyServerURL : 'dummy' } )
503503 . then ( function ( ) {
504- expect ( gd . _context . plotlyServerUrl ) . toBe ( 'dummy' ) ;
504+ expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
505505
506506 Plotly . Plots . sendDataToCloud ( gd ) ;
507507 expect ( form . action ) . toContain ( '/dummy/external' ) ;
@@ -514,9 +514,9 @@ describe('config argument', function() {
514514 it ( 'has lesser priotiy then window env' , function ( done ) {
515515 window . PLOTLYENV = { BASE_URL : 'yo' } ;
516516
517- Plotly . plot ( gd , [ ] , { } , { plotlyServerUrl : 'dummy' } )
517+ Plotly . plot ( gd , [ ] , { } , { plotlyServerURL : 'dummy' } )
518518 . then ( function ( ) {
519- expect ( gd . _context . plotlyServerUrl ) . toBe ( 'dummy' ) ;
519+ expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
520520
521521 Plotly . Plots . sendDataToCloud ( gd ) ;
522522 expect ( form . action ) . toContain ( '/yo/external' ) ;
0 commit comments