diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b05db8b5bb..22cb78eba6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -242,14 +242,6 @@ RSpec/UnspecifiedException: Exclude: - 'updater/spec/dependabot/job_spec.rb' -# Offense count: 3 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: constant, string -RSpec/VerifiedDoubleReference: - Exclude: - - 'updater/spec/dependabot/updater/operations/refresh_group_update_pull_request_spec.rb' - # Offense count: 26 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: diff --git a/updater/spec/dependabot/updater/operations/refresh_group_update_pull_request_spec.rb b/updater/spec/dependabot/updater/operations/refresh_group_update_pull_request_spec.rb index bb06c2f77d..3825770be6 100644 --- a/updater/spec/dependabot/updater/operations/refresh_group_update_pull_request_spec.rb +++ b/updater/spec/dependabot/updater/operations/refresh_group_update_pull_request_spec.rb @@ -272,15 +272,15 @@ end let(:group) do - instance_double("Dependabot::DependencyGroup", rules: { "update-types" => update_types }) + instance_double(Dependabot::DependencyGroup, rules: { "update-types" => update_types }) end let(:dependency) do - instance_double("Dependabot::Dependency", version: current_version) + instance_double(Dependabot::Dependency, version: current_version) end let(:checker) do - instance_double("Dependabot::UpdateCheckers::Base", latest_version: latest_version) + instance_double(Dependabot::UpdateCheckers::Base, latest_version: latest_version) end before do