Skip to content

RoboCop: Fix spelling of cop departments

Peter Leitzen requested to merge pl-rubocop-fix-spelling-department into master

What does this MR do and why?

This MR fixes the following RuboCop warnings:

spec/lib/gitlab/audit/target_spec.rb: Rspec/VerifiedDoubles has the wrong namespace - should be RSpec
spec/models/concerns/database_event_tracking_spec.rb: Rspec/LeakyConstantDeclaration has the wrong namespace - should be RSpec
spec/models/concerns/database_event_tracking_spec.rb: Rspec/ExpectGitlabTracking has the wrong namespace - should be RSpec

Screenshots

Before After
Screenshot_from_2022-08-10_14-20-46 Screenshot_from_2022-08-10_14-20-52

How to set up and validate locally

$ bundle exec rubocop spec/lib/gitlab/audit/target_spec.rb spec/models/concerns/database_event_tracking_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports