diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-07 00:28:24 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-07 00:28:24 -0700 |
commit | b1f4c3fae73d5837c4c12eb64bfcc88a4dec23db (patch) | |
tree | 2ddd9b0d3494f69b5353aa94d0865b9c42ee528d /spec/validators/system_hook_url_validator_spec.rb | |
parent | 46382a432d34aa23442d323fe1ae2355111e3741 (diff) | |
parent | 3c29ea01d16b384c7138a49edee245a4c0307cdd (diff) | |
download | gitlab-ce-b1f4c3fae73d5837c4c12eb64bfcc88a4dec23db.tar.gz |
Merge branch 'master' into sh-break-out-invited-group-members
Diffstat (limited to 'spec/validators/system_hook_url_validator_spec.rb')
-rw-r--r-- | spec/validators/system_hook_url_validator_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/validators/system_hook_url_validator_spec.rb b/spec/validators/system_hook_url_validator_spec.rb new file mode 100644 index 00000000000..02384bbd1ce --- /dev/null +++ b/spec/validators/system_hook_url_validator_spec.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +require 'spec_helper' + +describe SystemHookUrlValidator do + include_examples 'url validator examples', AddressableUrlValidator::DEFAULT_OPTIONS[:schemes] + include_examples 'public url validator examples', allow_local_requests_from_system_hooks: true +end |