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

build_payload_spec.rb « service_ping « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c37168f5a082d6b8171689be49ab37b3bc8f7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ServicePing::BuildPayload, feature_category: :service_ping do
  describe '#execute', :without_license do
    subject(:service_ping_payload) { described_class.new.execute }

    include_context 'stubbed service ping metrics definitions' do
      let(:subscription_metrics) do
        [
          metric_attributes('active_user_count', "subscription")
        ]
      end
    end

    it_behaves_like 'complete service ping payload'
  end
end