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

instrumentation_class_spec.rb.template « templates « usage_metric « gitlab « generators « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8bd502ab77501785f9bd2366aef6cfd92d5be89 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Gitlab::Usage::Metrics::Instrumentations::<%= class_name %>Metric do
  let(:expected_value) { 1 }

  it_behaves_like 'a correct instrumented metric value', { time_frame: 'all', data_source: 'database' }
end