Skip to content

Commit

Permalink
Enabling RSpec/RepeatedDescription (dependabot#9744)
Browse files Browse the repository at this point in the history
  • Loading branch information
robaiken authored May 17, 2024
1 parent 4be66a8 commit e65727b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,6 @@ RSpec/ReceiveMessages:
- 'updater/spec/dependabot/file_fetcher_command_spec.rb'
- 'updater/spec/dependabot/update_files_command_spec.rb'

# Offense count: 2
RSpec/RepeatedDescription:
Exclude:
- 'npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb'

# Offense count: 4
RSpec/RepeatedExample:
Exclude:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,12 @@
)
end

it "raises tool version not supported error" do
it "raises a ToolVersionNotSupported error when calling files" do
expect { file_fetcher_instance.files }
.to raise_error(Dependabot::ToolVersionNotSupported)
end

it "raises tool version not supported error" do
it "raises a ToolVersionNotSupported error when calling ecosystem versions" do
expect { file_fetcher_instance.ecosystem_versions }
.to raise_error(Dependabot::ToolVersionNotSupported)
end
Expand Down

0 comments on commit e65727b

Please sign in to comment.