Commit 32d4fe3d authored by James Fargher's avatar James Fargher

Remove rubocop todo for EmptyLineAfterFinalLet

Ran: bundle exec rubocop --only RSpec/EmptyLineAfterFinalLet -a
parent c5d57bf1
...@@ -268,11 +268,6 @@ Naming/RescuedExceptionsVariableName: ...@@ -268,11 +268,6 @@ Naming/RescuedExceptionsVariableName:
RSpec/ContextWording: RSpec/ContextWording:
Enabled: false Enabled: false
# Offense count: 407
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
Enabled: false
# Offense count: 719 # Offense count: 719
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle. # Configuration parameters: EnforcedStyle.
......
...@@ -91,6 +91,7 @@ describe 'Dashboard snippets' do ...@@ -91,6 +91,7 @@ describe 'Dashboard snippets' do
context 'as an external user' do context 'as an external user' do
let(:user) { create(:user, :external) } let(:user) { create(:user, :external) }
before do before do
sign_in(user) sign_in(user)
visit dashboard_snippets_path visit dashboard_snippets_path
......
...@@ -424,6 +424,7 @@ describe Blob do ...@@ -424,6 +424,7 @@ describe Blob do
describe 'policy' do describe 'policy' do
let(:project) { build(:project) } let(:project) { build(:project) }
subject { described_class.new(fake_blob(path: 'foo'), project) } subject { described_class.new(fake_blob(path: 'foo'), project) }
it 'works with policy' do it 'works with policy' do
......
...@@ -7,6 +7,7 @@ describe ReadmeBlob do ...@@ -7,6 +7,7 @@ describe ReadmeBlob do
describe 'policy' do describe 'policy' do
let(:project) { build(:project, :repository) } let(:project) { build(:project, :repository) }
subject { described_class.new(fake_blob(path: 'README.md'), project.repository) } subject { described_class.new(fake_blob(path: 'README.md'), project.repository) }
it 'works with policy' do 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