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

service_ping_payload_with_all_expected_metrics_shared_examples.rb « service_ping « services « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 535e7291b7e3fb97d19f9b22d1c6fac764d7b34e (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

RSpec.shared_examples 'service ping payload with all expected metrics' do
  specify do
    aggregate_failures do
      expected_metrics.each do |metric|
        is_expected.to have_usage_metric metric['key_path']
      end
    end
  end
end