File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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} )
You can’t perform that action at this time.
0 commit comments