Permalink
Browse files

examples: use https github url

closes #3465
  • Loading branch information...
yaman-jain authored and dougwilson committed Nov 1, 2017
1 parent 351396f commit 53bee2506debf01d9f6e884d1fc09b86d001f0e2
Showing with 5 additions and 5 deletions.
  1. +3 −3 examples/web-service/index.js
  2. +2 −2 test/acceptance/web-service.js
@@ -49,9 +49,9 @@ var apiKeys = ['foo', 'bar', 'baz'];
// these two objects will serve as our faux database
var repos = [
{ name: 'express', url: 'http://github.com/expressjs/express' }
, { name: 'stylus', url: 'http://github.com/learnboost/stylus' }
, { name: 'cluster', url: 'http://github.com/learnboost/cluster' }
{ name: 'express', url: 'https://github.com/expressjs/express' },
{ name: 'stylus', url: 'https://github.com/learnboost/stylus' },
{ name: 'cluster', url: 'https://github.com/learnboost/cluster' }
];
var users = [
@@ -53,7 +53,7 @@ describe('web-service', function(){
.get('/api/repos?api-key=foo')
.expect('Content-Type', 'application/json; charset=utf-8')
.expect(/"name":"express"/)
.expect(/"url":"http:\/\/github.com\/expressjs\/express"/)
.expect(/"url":"https:\/\/github.com\/expressjs\/express"/)
.expect(200, done)
})
})
@@ -82,7 +82,7 @@ describe('web-service', function(){
.get('/api/user/loki/repos?api-key=foo')
.expect('Content-Type', 'application/json; charset=utf-8')
.expect(/"name":"stylus"/)
.expect(/"url":"http:\/\/github.com\/learnboost\/stylus"/)
.expect(/"url":"https:\/\/github.com\/learnboost\/stylus"/)
.expect(200, done)
})

0 comments on commit 53bee25

Please sign in to comment.