add missing permitted param
This commit is contained in:
parent
faadd9e0e4
commit
eb5e0e921c
2 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ class Admin::HooksController < Admin::ApplicationController
|
|||
:push_events,
|
||||
:tag_push_events,
|
||||
:repository_update_events,
|
||||
:merge_requests_events,
|
||||
:token,
|
||||
:url
|
||||
)
|
||||
|
|
|
@ -14,6 +14,7 @@ describe Admin::HooksController do
|
|||
push_events: true,
|
||||
tag_push_events: true,
|
||||
repository_update_events: true,
|
||||
merge_requests_events: true,
|
||||
token: "TEST TOKEN",
|
||||
url: "http://example.com"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue