Welcome to mirror list, hosted at ThFree Co, Russian Federation.

be_url.rb « matchers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8096af1b22f9cdd5bf3fab0af28ed657612caba (plain)
1
2
3
4
5
RSpec::Matchers.define :be_url do |_|
  match do |actual|
    URI.parse(actual) rescue false
  end
end