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

count_issues_metric_spec.rb « instrumentations « metrics « usage « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3b59904f41934b8f39e70e5610df6be06664af9 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Gitlab::Usage::Metrics::Instrumentations::CountIssuesMetric do
  let_it_be(:issue) { create(:issue) }

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