Skip to content

Commit 53bee25

Browse files
yaman-jaindougwilson
authored andcommitted
examples: use https github url
closes #3465
1 parent 351396f commit 53bee25

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/web-service/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ var apiKeys = ['foo', 'bar', 'baz'];
4949
// these two objects will serve as our faux database
5050

5151
var repos = [
52-
{ name: 'express', url: 'http://github.com/expressjs/express' }
53-
, { name: 'stylus', url: 'http://github.com/learnboost/stylus' }
54-
, { name: 'cluster', url: 'http://github.com/learnboost/cluster' }
52+
{ name: 'express', url: 'https://github.com/expressjs/express' },
53+
{ name: 'stylus', url: 'https://github.com/learnboost/stylus' },
54+
{ name: 'cluster', url: 'https://github.com/learnboost/cluster' }
5555
];
5656

5757
var users = [

test/acceptance/web-service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('web-service', function(){
5353
.get('/api/repos?api-key=foo')
5454
.expect('Content-Type', 'application/json; charset=utf-8')
5555
.expect(/"name":"express"/)
56-
.expect(/"url":"http:\/\/github.com\/expressjs\/express"/)
56+
.expect(/"url":"https:\/\/github.com\/expressjs\/express"/)
5757
.expect(200, done)
5858
})
5959
})
@@ -82,7 +82,7 @@ describe('web-service', function(){
8282
.get('/api/user/loki/repos?api-key=foo')
8383
.expect('Content-Type', 'application/json; charset=utf-8')
8484
.expect(/"name":"stylus"/)
85-
.expect(/"url":"http:\/\/github.com\/learnboost\/stylus"/)
85+
.expect(/"url":"https:\/\/github.com\/learnboost\/stylus"/)
8686
.expect(200, done)
8787
})
8888

0 commit comments

Comments
 (0)