We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7990abe commit 766d09bCopy full SHA for 766d09b
1 file changed
test/test_webhooks.js
@@ -10,6 +10,7 @@ describe('webhooks', function () {
10
, config = lib.pushJob(fx)
11
12
delete config.trigger.author.image
13
+
14
expect(config).to.eql({
15
branch: 'master',
16
deploy: true,
@@ -58,7 +59,8 @@ describe('webhooks', function () {
58
59
}
60
},
61
ref: {
- fetch: 'refs/pull/1/merge'
62
+ fetch: 'refs/pull/1/merge',
63
+ branch: 'master'
64
65
trigger: {
66
type: 'pull-request',
@@ -78,7 +80,7 @@ describe('webhooks', function () {
78
80
})
79
81
82
-
83
84
describe('verifySignature', function () {
85
// `X-Hub-Signature` request header value from a github test hook request
86
var goodSig = 'sha1=0a09a56a74e9e68928a35f712afaae72b010c11f'
@@ -96,5 +98,5 @@ describe('webhooks', function () {
96
98
done()
97
99
100
101
102
0 commit comments