add missing permitted param

This commit is contained in:
Alexis Reigel 2017-12-18 10:58:18 +01:00
parent faadd9e0e4
commit eb5e0e921c
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class Admin::HooksController < Admin::ApplicationController
:push_events,
:tag_push_events,
:repository_update_events,
:merge_requests_events,
:token,
:url
)

View File

@ -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"
}