8abf920d1f
Simplify SystemHookUrlValidator to inherit from PublicUrlValidator Refactor specs to move out shared examples to be used in both system hooks and public url validators.
6 lines
261 B
Ruby
6 lines
261 B
Ruby
require 'spec_helper'
|
|
|
|
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
|