diff options
-rw-r--r-- | app/controllers/admin/hooks_controller.rb | 1 | ||||
-rw-r--r-- | spec/controllers/admin/hooks_controller_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/admin/hooks_controller.rb b/app/controllers/admin/hooks_controller.rb index 77e3c95d197..1c90c298f66 100644 --- a/app/controllers/admin/hooks_controller.rb +++ b/app/controllers/admin/hooks_controller.rb @@ -62,6 +62,7 @@ class Admin::HooksController < Admin::ApplicationController :push_events, :tag_push_events, :repository_update_events, + :merge_requests_events, :token, :url ) diff --git a/spec/controllers/admin/hooks_controller_spec.rb b/spec/controllers/admin/hooks_controller_spec.rb index e6ba596117a..090a51be7c3 100644 --- a/spec/controllers/admin/hooks_controller_spec.rb +++ b/spec/controllers/admin/hooks_controller_spec.rb @@ -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" } |