Commit dfb9d338 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-models-blob-viewer' into 'master'

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/blob_viewer

See merge request gitlab-org/gitlab!58325
parents 2fa57fc9 ae30457b
......@@ -855,8 +855,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/models/abuse_report_spec.rb
- spec/models/alert_management/alert_spec.rb
- spec/models/audit_event_spec.rb
- spec/models/blob_viewer/gitlab_ci_yml_spec.rb
- spec/models/blob_viewer/metrics_dashboard_yml_spec.rb
- spec/models/chat_name_spec.rb
- spec/models/chat_team_spec.rb
- spec/models/clusters/kubernetes_namespace_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/models/blob_viewer
merge_request: 58325
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -8,6 +8,7 @@ RSpec.describe BlobViewer::GitlabCiYml do
let_it_be(:project) { create(:project, :repository) }
let_it_be(:user) { create(:user) }
let(:data) { File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml')) }
let(:blob) { fake_blob(path: '.gitlab-ci.yml', data: data) }
let(:sha) { sample_commit.id }
......
......@@ -7,6 +7,7 @@ RSpec.describe BlobViewer::MetricsDashboardYml do
include RepoHelpers
let_it_be(:project) { create(:project, :repository) }
let(:blob) { fake_blob(path: '.gitlab/dashboards/custom-dashboard.yml', data: data) }
let(:sha) { sample_commit.id }
let(:data) { fixture_file('lib/gitlab/metrics/dashboard/sample_dashboard.yml') }
......
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