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

9 lines
292 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
require 'spec_helper'
describe PublicUrlValidator do
2019-07-31 22:56:46 +05:30
include_examples 'url validator examples', AddressableUrlValidator::DEFAULT_OPTIONS[:schemes]
2019-10-12 21:52:04 +05:30
include_examples 'public url validator examples', allow_local_requests_from_web_hooks_and_services: true
2018-11-08 19:23:39 +05:30
end