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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
298 B
Ruby
Raw Permalink 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'
2020-07-28 23:09:34 +05:30
RSpec.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