Commit 610aa44c authored by Thong Kuah's avatar Thong Kuah

Merge branch 'fix_empty_line_after_final_let' into 'master'

Remove rubocop todo for EmptyLineAfterFinalLet

Closes #34182

See merge request gitlab-org/gitlab!22048
parents 7e3680dd 32d4fe3d
......@@ -268,11 +268,6 @@ Naming/RescuedExceptionsVariableName:
RSpec/ContextWording:
Enabled: false
# Offense count: 407
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
Enabled: false
# Offense count: 719
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
......
......@@ -91,6 +91,7 @@ describe 'Dashboard snippets' do
context 'as an external user' do
let(:user) { create(:user, :external) }
before do
sign_in(user)
visit dashboard_snippets_path
......
......@@ -424,6 +424,7 @@ describe Blob do
describe 'policy' do
let(:project) { build(:project) }
subject { described_class.new(fake_blob(path: 'foo'), project) }
it 'works with policy' do
......
......@@ -7,6 +7,7 @@ describe ReadmeBlob do
describe 'policy' do
let(:project) { build(:project, :repository) }
subject { described_class.new(fake_blob(path: 'README.md'), project.repository) }
it 'works with policy' do
......
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