Commit 747e3e30 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '239356-fix-Style/MixinUsage' into 'master'

Fix Style/MixinUsage offenses

See merge request gitlab-org/gitlab!83594
parents 9812f90b 9366a05b
...@@ -544,15 +544,6 @@ Style/Lambda: ...@@ -544,15 +544,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.
......
# 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
......
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