diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f51c4afd20..c5abcf04a2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: diff --git a/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb b/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb index fc5b1f771d..ce2e46c37d 100644 --- a/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb +++ b/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb @@ -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