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
9366a05b
Commit
9366a05b
authored
Mar 24, 2022
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Style/MixinUsage offenses
parent
cadf7e10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
.rubocop_todo.yml
.rubocop_todo.yml
+0
-9
spec/lib/gitlab/import_export/version_checker_spec.rb
spec/lib/gitlab/import_export/version_checker_spec.rb
+2
-1
No files found.
.rubocop_todo.yml
View file @
9366a05b
...
@@ -551,15 +551,6 @@ Style/Lambda:
...
@@ -551,15 +551,6 @@ Style/Lambda:
Style/MissingRespondToMissing
:
Style/MissingRespondToMissing
:
Enabled
:
false
Enabled
:
false
# Offense count: 5
Style/MixinUsage
:
Exclude
:
-
'
spec/factories/ci/builds.rb'
-
'
spec/factories/ci/job_artifacts.rb'
-
'
spec/factories/lfs_objects.rb'
-
'
spec/factories/notes.rb'
-
'
spec/lib/gitlab/import_export/version_checker_spec.rb'
# Offense count: 35
# Offense count: 35
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# Configuration parameters: EnforcedStyle, MinBodyLength.
...
...
spec/lib/gitlab/import_export/version_checker_spec.rb
View file @
9366a05b
# frozen_string_literal: true
# frozen_string_literal: true
require
'spec_helper'
require
'spec_helper'
include
ImportExport
::
CommonUtil
RSpec
.
describe
Gitlab
::
ImportExport
::
VersionChecker
do
RSpec
.
describe
Gitlab
::
ImportExport
::
VersionChecker
do
include
ImportExport
::
CommonUtil
let!
(
:shared
)
{
Gitlab
::
ImportExport
::
Shared
.
new
(
nil
)
}
let!
(
:shared
)
{
Gitlab
::
ImportExport
::
Shared
.
new
(
nil
)
}
describe
'bundle a project Git repo'
do
describe
'bundle a project Git repo'
do
...
...
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