@@ -11,7 +11,7 @@ var raven = require('../'),
11
11
zlib = require ( 'zlib' ) ,
12
12
child_process = require ( 'child_process' ) ;
13
13
14
- var dsn = 'https://public:private _ @app.getsentry.com/269' ;
14
+ var dsn = 'https://public:private@app.getsentry.com/269' ;
15
15
16
16
var _oldConsoleWarn = console . warn ;
17
17
@@ -53,7 +53,7 @@ describe('raven.Client', function() {
53
53
var expected = {
54
54
protocol : 'https' ,
55
55
public_key : 'public' ,
56
- private __key : 'private _ ' ,
56
+ private_key : 'private' ,
57
57
host : 'app.getsentry.com' ,
58
58
path : '/' ,
59
59
project_id : '269' ,
@@ -70,7 +70,7 @@ describe('raven.Client', function() {
70
70
var expected = {
71
71
protocol : 'https' ,
72
72
public_key : 'abc' ,
73
- private __key : '123' ,
73
+ private_key : '123' ,
74
74
host : 'app.getsentry.com' ,
75
75
path : '/' ,
76
76
project_id : '1' ,
@@ -86,7 +86,7 @@ describe('raven.Client', function() {
86
86
var expected = {
87
87
protocol : 'https' ,
88
88
public_key : 'abc' ,
89
- private __key : '123' ,
89
+ private_key : '123' ,
90
90
host : 'app.getsentry.com' ,
91
91
path : '/' ,
92
92
project_id : '1' ,
@@ -208,7 +208,7 @@ describe('raven.Client', function() {
208
208
} ) ;
209
209
210
210
it ( 'should allow for attaching stacktrace' , function ( done ) {
211
- var dsn = 'https://public:private _ @app.getsentry.com:8443/269' ;
211
+ var dsn = 'https://public:private@app.getsentry.com:8443/269' ;
212
212
var client = new raven . Client ( dsn , {
213
213
stacktrace : true
214
214
} ) ;
@@ -317,7 +317,7 @@ describe('raven.Client', function() {
317
317
. post ( '/api/269/store/' , '*' )
318
318
. reply ( 200 , 'OK' ) ;
319
319
320
- var dsn = 'https://public:private _ @app.getsentry.com:8443/269' ;
320
+ var dsn = 'https://public:private@app.getsentry.com:8443/269' ;
321
321
var client = new raven . Client ( dsn ) ;
322
322
client . on ( 'logged' , function ( ) {
323
323
scope . done ( ) ;
@@ -364,7 +364,7 @@ describe('raven.Client', function() {
364
364
return 'OK' ;
365
365
} ) ;
366
366
367
- var dsn = 'https://public:private _ @app.getsentry.com:8443/269' ;
367
+ var dsn = 'https://public:private@app.getsentry.com:8443/269' ;
368
368
var client = new raven . Client ( dsn ) ;
369
369
client . on ( 'logged' , function ( ) {
370
370
scope . done ( ) ;
@@ -998,13 +998,13 @@ describe('raven.Client', function() {
998
998
var expected = {
999
999
protocol : 'https' ,
1000
1000
public_key : 'public' ,
1001
- private __key : 'private _ ' ,
1001
+ private_key : 'private' ,
1002
1002
host : 'app.getsentry.com' ,
1003
1003
path : '/' ,
1004
1004
project_id : '269' ,
1005
1005
port : 443
1006
1006
} ;
1007
- var dsn = 'heka+https://public:private _ @app.getsentry.com/269' ;
1007
+ var dsn = 'heka+https://public:private@app.getsentry.com/269' ;
1008
1008
var client = new raven . Client ( dsn , {
1009
1009
transport : 'some_heka_instance'
1010
1010
} ) ;
@@ -1013,7 +1013,7 @@ describe('raven.Client', function() {
1013
1013
} ) ;
1014
1014
1015
1015
it ( 'should use a DSN subpath when sending requests' , function ( done ) {
1016
- var dsn = 'https://public:private _ @app.getsentry.com/some/path/269' ;
1016
+ var dsn = 'https://public:private@app.getsentry.com/some/path/269' ;
1017
1017
var client = new raven . Client ( dsn ) ;
1018
1018
1019
1019
var scope = nock ( 'https://app.getsentry.com' )
0 commit comments