Skip to content

Commit

Permalink
enabled RSpec VerifiedDoubeReference rule
Browse files Browse the repository at this point in the history
  • Loading branch information
GarryHurleyJr committed Jun 13, 2024
1 parent c0cb10c commit 0ee7ba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ee7ba1

Please sign in to comment.