Skip to content

Commit

Permalink
test(post): account for undeclared breaking change in github package
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Apr 23, 2015
1 parent e0eee05 commit 248c41a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -12,7 +12,7 @@
"conventional-changelog": "0.0.17",
"error-first-handler": "^1.0.1",
"git-head": "^1.2.1",
"github": "^0.2.3",
"github": "0.2.4",
"github-url-from-git": "^1.4.0",
"ini": "^1.3.2",
"minimist": "^1.1.0",
Expand Down
3 changes: 2 additions & 1 deletion tests/scenarios/postpublish.js
Expand Up @@ -58,7 +58,8 @@ module.exports = function (test, createModule) {
t.test('correct data published', function (t) {
t.plan(4)

github.releases.getRelease({ owner: 'user', repo: 'repo', id: 1}, function (err, res) {
github.releases.getRelease({ owner: 'user', repo: 'repo', id: 1}, function (err, raw) {
var res = JSON.parse(raw)
t.error(err, 'github')
t.is(res.tag_name, 'v2.0.0', 'version')
t.is(res.author.login, 'user', 'user')
Expand Down

0 comments on commit 248c41a

Please sign in to comment.