Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bb0958e9
Commit
bb0958e9
authored
Mar 30, 2022
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/VariableDefinition rubocop offense
parent
df1ca6cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
.rubocop_todo.yml
.rubocop_todo.yml
+0
-7
spec/initializers/mail_encoding_patch_spec.rb
spec/initializers/mail_encoding_patch_spec.rb
+2
-0
No files found.
.rubocop_todo.yml
View file @
bb0958e9
...
...
@@ -213,13 +213,6 @@ RSpec/ReturnFromStub:
RSpec/ScatteredLet
:
Enabled
:
false
# Offense count: 10
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symbols, strings
RSpec/VariableDefinition
:
Exclude
:
-
'
spec/initializers/mail_encoding_patch_spec.rb'
# Offense count: 24
# Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
...
...
spec/initializers/mail_encoding_patch_spec.rb
View file @
bb0958e9
# frozen_string_literal: true
# rubocop:disable RSpec/VariableDefinition
require
'fast_spec_helper'
...
...
@@ -205,3 +206,4 @@ RSpec.describe 'Mail quoted-printable transfer encoding patch and Unicode charac
end
end
end
# rubocop:enable RSpec/VariableDefinition
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment