Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Switch to a new JSONP service
Browse files Browse the repository at this point in the history
  • Loading branch information
scothis committed Aug 24, 2015
1 parent f1c1b9a commit c3ba346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/client/jsonp-test-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

buster.testCase('rest/client/jsonp', {
'should make a cross origin request': function () {
var request = { path: 'http://ip.jsontest.com/' };
var request = { path: 'https://api.github.com/' };
return client(request).then(function (response) {
assert(response.entity.ip);
assert(response.entity.data);
assert.same(request, response.request);
refute(request.canceled);
refute(response.raw.parentNode);
Expand Down Expand Up @@ -96,7 +96,7 @@
);
},
'should normalize a string to a request object': function () {
var request = 'http://ip.jsontest.com/';
var request = 'https://api.github.com/';
return client(request).then(function (response) {
assert.same(request, response.request.path);
}).otherwise(fail);
Expand Down

0 comments on commit c3ba346

Please sign in to comment.