debian-mirror-gitlab/spec/validators/system_hook_url_validator_spec.rb

9 lines
292 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-07-28 23:09:34 +05:30
RSpec.describe SystemHookUrlValidator do
2019-10-12 21:52:04 +05:30
include_examples 'url validator examples', AddressableUrlValidator::DEFAULT_OPTIONS[:schemes]
include_examples 'public url validator examples', allow_local_requests_from_system_hooks: true
end