Skip to content

Commit

Permalink
[Github] test : Hold file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
webcaetano committed Apr 29, 2017
1 parent 6ba4a88 commit 4e66f9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion service-tests/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ t.create('File size')
.get('/size/webcaetano/craft/build/craft.min.js.json')
.expectJSONTypes(Joi.object().keys({
name: Joi.equal('size'),
value: Joi.string().regex(/^[0-9]*[.]?[0-9]+\s(B|kB|MB|GB|TB|PB|EB|ZB|YB)$/)
value: [
Joi.string().regex(/^[0-9]*[.]?[0-9]+\s(B|kB|MB|GB|TB|PB|EB|ZB|YB)$/),
Joi.string().regex(/^repo or file not found$/),
Joi.string().regex(/^unknown file$/),
]
}));

t.create('Followers')
Expand Down

0 comments on commit 4e66f9f

Please sign in to comment.