diff options
author | George Koltsov <gkoltsov@gitlab.com> | 2019-08-01 14:22:54 +0100 |
---|---|---|
committer | George Koltsov <gkoltsov@gitlab.com> | 2019-08-02 15:39:18 +0100 |
commit | 5e3a208f58a7a887370888055da180f64b3692a3 (patch) | |
tree | dbf3bed610be70009b0d7be86cf7665800cf2125 /spec/services | |
parent | 8abf920d1f55e9117dd3b05d81ee9ebf7721f2bd (diff) | |
download | gitlab-ce-5e3a208f58a7a887370888055da180f64b3692a3.tar.gz |
Add backwards compatibility for legacy setting
`allow_local_requests_for_hooks_and_services` was renamed to
`allow_local_requests_for_web_hooks_and_services`.
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/self_monitoring/project/create_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/self_monitoring/project/create_service_spec.rb b/spec/services/self_monitoring/project/create_service_spec.rb index 87d7d776a69..7d4faba526b 100644 --- a/spec/services/self_monitoring/project/create_service_spec.rb +++ b/spec/services/self_monitoring/project/create_service_spec.rb @@ -95,7 +95,7 @@ describe SelfMonitoring::Project::CreateService do allow(ApplicationSetting) .to receive(:current) .and_return( - ApplicationSetting.build_from_defaults(allow_local_requests_from_hooks_and_services: false) + ApplicationSetting.build_from_defaults(allow_local_requests_from_web_hooks_and_services: false) ) end |