Commit 3c2c533b authored by Michael Kozono's avatar Michael Kozono

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-metrics-module' into 'master'

Fix EmptyLineAfterFinalLetItBe Rubocop offenses for metrics module

See merge request gitlab-org/gitlab!58190
parents 6bb56c2c 1187268a
......@@ -696,8 +696,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/finders/events_finder_spec.rb
- spec/finders/group_descendants_finder_spec.rb
- spec/finders/groups_finder_spec.rb
- spec/finders/metrics/dashboards/annotations_finder_spec.rb
- spec/finders/metrics/users_starred_dashboards_finder_spec.rb
- spec/finders/packages/conan/package_file_finder_spec.rb
- spec/finders/packages/go/module_finder_spec.rb
- spec/finders/packages/group_packages_finder_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe Rubocop offenses for metrics module
merge_request: 58190
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -7,6 +7,7 @@ RSpec.describe Metrics::Dashboards::AnnotationsFinder do
subject(:annotations) { described_class.new(dashboard: dashboard, params: params).execute }
let_it_be(:current_user) { create(:user) }
let(:path) { 'config/prometheus/common_metrics.yml' }
let(:params) { {} }
let(:environment) { create(:environment) }
......
......@@ -7,6 +7,7 @@ RSpec.describe Metrics::UsersStarredDashboardsFinder do
subject(:starred_dashboards) { described_class.new(user: user, project: project, params: params).execute }
let_it_be(:user) { create(:user) }
let(:project) { create(:project) }
let(:dashboard_path) { 'config/prometheus/common_metrics.yml' }
let(:params) { {} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment