Skip to content

Commit

Permalink
Enabling RSpec/PendingWithoutReason (dependabot#9739)
Browse files Browse the repository at this point in the history
  • Loading branch information
robaiken authored May 17, 2024
1 parent e65727b commit cbd2974
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 4 additions & 1 deletion bundler/spec/dependabot/bundler/update_checker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion go_modules/spec/dependabot/go_modules/path_converter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbd2974

Please sign in to comment.