debian-mirror-gitlab/spec/lib/service_ping/build_payload_spec.rb
2022-07-23 20:15:48 +02:00

19 lines
477 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ServicePing::BuildPayload 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