Skip to content

Commit b8fa22a

Browse files
committed
Merge branch 'master' into feature/ssh-instead-of-https
2 parents 8ba8634 + 766d09b commit b8fa22a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
sudo: false
21
language: node_js
32
node_js:
4-
- "latest"
5-
- "4.2.x"
6-
- "0.12"
7-
- "0.10"
3+
- "4"
4+
- "node"
5+
6+
sudo: false

test/test_webhooks.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe('webhooks', function () {
1010
, config = lib.pushJob(fx)
1111

1212
delete config.trigger.author.image
13+
1314
expect(config).to.eql({
1415
branch: 'master',
1516
deploy: true,
@@ -58,7 +59,8 @@ describe('webhooks', function () {
5859
}
5960
},
6061
ref: {
61-
fetch: 'refs/pull/1/merge'
62+
fetch: 'refs/pull/1/merge',
63+
branch: 'master'
6264
},
6365
trigger: {
6466
type: 'pull-request',
@@ -78,7 +80,7 @@ describe('webhooks', function () {
7880
})
7981
})
8082
})
81-
83+
8284
describe('verifySignature', function () {
8385
// `X-Hub-Signature` request header value from a github test hook request
8486
var goodSig = 'sha1=0a09a56a74e9e68928a35f712afaae72b010c11f'
@@ -96,5 +98,5 @@ describe('webhooks', function () {
9698
done()
9799
})
98100
})
99-
101+
100102
})

0 commit comments

Comments
 (0)