@@ -7,7 +7,7 @@ var strava = require('../')
77describe ( 'pushSubscriptions_test' , function ( ) {
88 describe ( '#list()' , function ( ) {
99 before ( ( ) => {
10- nock ( 'https://api .strava.com' )
10+ nock ( 'https://www .strava.com' )
1111 . filteringPath ( ( ) => '/api/v3/push_subscriptions/' )
1212 . get ( / ^ \/ a p i \/ v 3 \/ p u s h _ s u b s c r i p t i o n s / )
1313 // The first reply just echo's the request headers so we can test them.
@@ -53,7 +53,7 @@ describe('pushSubscriptions_test', function () {
5353
5454 describe ( '#create({callback_url:...})' , function ( ) {
5555 before ( ( ) => {
56- nock ( 'https://api .strava.com' )
56+ nock ( 'https://www .strava.com' )
5757 . filteringPath ( ( ) => '/api/v3/push_subscriptions' )
5858 // The first reply just echo's the request headers so we can test them.
5959 . post ( / ^ \/ a p i \/ v 3 \/ p u s h _ s u b s c r i p t i o n s / )
@@ -106,7 +106,7 @@ describe('pushSubscriptions_test', function () {
106106 before ( ( ) => {
107107 // The status is not normally returned in the body.
108108 // We return it here because the test can't easily access the HTTP status code.
109- nock ( 'https://api .strava.com' )
109+ nock ( 'https://www .strava.com' )
110110 . filteringPath ( ( ) => '/api/v3/push_subscriptions/1/' )
111111 // The first reply just echo's the request headers so we can test them.
112112 . delete ( / ^ \/ a p i \/ v 3 \/ p u s h _ s u b s c r i p t i o n s \/ 1 / )
0 commit comments