Commit a610e5cf authored by Kerri Miller's avatar Kerri Miller

Merge branch '239356-fix-RSpec/VariableDefinition' into 'master'

Fix RSpec/VariableDefinition rubocop offense

See merge request gitlab-org/gitlab!83956
parents 084d4a57 bb0958e9
...@@ -213,13 +213,6 @@ RSpec/ReturnFromStub: ...@@ -213,13 +213,6 @@ RSpec/ReturnFromStub:
RSpec/ScatteredLet: RSpec/ScatteredLet:
Enabled: false Enabled: false
# Offense count: 10
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symbols, strings
RSpec/VariableDefinition:
Exclude:
- 'spec/initializers/mail_encoding_patch_spec.rb'
# Offense count: 24 # Offense count: 24
# Configuration parameters: EnforcedStyle, IgnoredPatterns. # Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase # SupportedStyles: snake_case, camelCase
......
# frozen_string_literal: true # frozen_string_literal: true
# rubocop:disable RSpec/VariableDefinition
require 'fast_spec_helper' require 'fast_spec_helper'
...@@ -205,3 +206,4 @@ RSpec.describe 'Mail quoted-printable transfer encoding patch and Unicode charac ...@@ -205,3 +206,4 @@ RSpec.describe 'Mail quoted-printable transfer encoding patch and Unicode charac
end end
end end
end end
# rubocop:enable RSpec/VariableDefinition
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