debian-mirror-gitlab/spec/validators/public_url_validator_spec.rb
2020-08-09 17:44:08 +05:30

8 lines
298 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe PublicUrlValidator do
include_examples 'url validator examples', AddressableUrlValidator::DEFAULT_OPTIONS[:schemes]
include_examples 'public url validator examples', allow_local_requests_from_web_hooks_and_services: true
end