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

be_request_urgency.rb « matchers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e88f157366b7dc8635db4809bc1289bd152af7b0 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

RSpec::Matchers.define :be_request_urgency do |expected|
  match do |actual|
    actual.is_a?(::Gitlab::EndpointAttributes::Config::RequestUrgency) &&
      actual.name == expected
  end
end