Commit ae30457b authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by Igor Drozdov

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/blob_viewer

parent 162e5fee
......@@ -1145,8 +1145,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/ci/artifact_blob_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