Skip to content

Commit 8752afe

Browse files
author
nicola
committed
add test for viewing accounts
1 parent b2d1a15 commit 8752afe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎test/identity-provider.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ describe('Identity Provider', function () {
5858
.expect(302, done)
5959
})
6060

61+
describe('accessing accounts', function() {
62+
it('should be able to access public file of an account', function(done) {
63+
var subdomain = supertest('https://tim.' + host)
64+
subdomain.get('/hello.html')
65+
.expect(200, done)
66+
})
67+
})
68+
6169
describe('creating an account with POST', function () {
6270
it('should return 406 if username is not given', function (done) {
6371
server.post('/accounts')

0 commit comments

Comments
 (0)