@@ -60,7 +60,7 @@ describe('metrics', function() {
6060
6161      sinon . assert . calledOnce ( spy ) ; 
6262      var  req  =  spy . getCall ( 0 ) . args [ 0 ] ; 
63-       assert . strictEqual ( req . url ,  'https://api.segment.io /v1/m' ) ; 
63+       assert . strictEqual ( req . url ,  'https://api.dreamdata.cloud /v1/m' ) ; 
6464      assert . strictEqual ( 
6565        req . requestBody , 
6666        '{"series":[{"type":"Counter","metric":"foo","value":1,"tags":{}}]}' 
@@ -148,7 +148,7 @@ describe('metrics', function() {
148148      setTimeout ( function ( )  { 
149149        sinon . assert . calledOnce ( spy ) ; 
150150        var  req  =  spy . getCall ( 0 ) . args [ 0 ] ; 
151-         assert . strictEqual ( req . url ,  'https://api.segment.io /v1/m' ) ; 
151+         assert . strictEqual ( req . url ,  'https://api.dreamdata.cloud /v1/m' ) ; 
152152        assert . strictEqual ( 
153153          req . requestBody , 
154154          '{"series":[{"type":"Counter","metric":"test1","value":1,"tags":{"foo":"bar"}}]}' 
@@ -165,7 +165,7 @@ describe('metrics', function() {
165165    it ( 'should handle empty options correctly' ,  function ( )  { 
166166      metrics . options ( { } ) ; 
167167
168-       assert . equal ( metrics . host ,  'api.segment.io /v1' ) ; 
168+       assert . equal ( metrics . host ,  'api.dreamdata.cloud /v1' ) ; 
169169      assert . equal ( metrics . sampleRate ,  0 ) ; 
170170      assert . equal ( metrics . flushTimer ,  30000 ) ; 
171171      assert . equal ( metrics . maxQueueSize ,  20 ) ; 
@@ -174,9 +174,9 @@ describe('metrics', function() {
174174    } ) ; 
175175
176176    it ( 'should respect host option' ,  function ( )  { 
177-       metrics . options ( {  host : 'api.segment.com /v1'  } ) ; 
177+       metrics . options ( {  host : 'api.dreamdata.cloud /v1'  } ) ; 
178178
179-       assert . equal ( metrics . host ,  'api.segment.com /v1' ) ; 
179+       assert . equal ( metrics . host ,  'api.dreamdata.cloud /v1' ) ; 
180180    } ) ; 
181181
182182    it ( 'should respect sampleRate option' ,  function ( )  { 
0 commit comments