diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c5abcf04a2..a63f6524b8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -326,12 +326,6 @@ RSpec/OverwritingSetup: - 'terraform/spec/dependabot/terraform/file_parser_spec.rb' - 'updater/spec/dependabot/dependency_snapshot_spec.rb' -# Offense count: 2 -RSpec/PendingWithoutReason: - Exclude: - - 'bundler/spec/dependabot/bundler/update_checker_spec.rb' - - 'go_modules/spec/dependabot/go_modules/path_converter_spec.rb' - # Offense count: 47 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers. diff --git a/bundler/spec/dependabot/bundler/update_checker_spec.rb b/bundler/spec/dependabot/bundler/update_checker_spec.rb index ba37a37430..ad16bb3f22 100644 --- a/bundler/spec/dependabot/bundler/update_checker_spec.rb +++ b/bundler/spec/dependabot/bundler/update_checker_spec.rb @@ -1217,7 +1217,10 @@ context "that is old" do let(:dependency_files) { bundler_project_dependency_files("explicit_ruby_old") } - xit { is_expected.to eq(Gem::Version.new("2.0.1")) } + it "Gem version is 2.0.1" do + skip "This test intermittently fails, which often trips up external contributors" + is_expected.to eq(Gem::Version.new("2.0.1")) + end end end diff --git a/go_modules/spec/dependabot/go_modules/path_converter_spec.rb b/go_modules/spec/dependabot/go_modules/path_converter_spec.rb index d9a37d4f32..1a7a12bf14 100644 --- a/go_modules/spec/dependabot/go_modules/path_converter_spec.rb +++ b/go_modules/spec/dependabot/go_modules/path_converter_spec.rb @@ -30,7 +30,8 @@ it { is_expected.to eq("https://github.com/kubernetes/apimachinery") } end - xcontext "with a vanity URL that redirects" do + context "with a vanity URL that redirects" do + skip "This test is temporarily disabled due to intermittent failures" let(:path) { "code.cloudfoundry.org/bytefmt" } it { is_expected.to eq("https://github.com/cloudfoundry/bytefmt") } end