Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jan 14, 2025
1 parent ed1b902 commit 22b8070
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/datadog/core/configuration/components_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@

context 'MRI' do
before(:all) do
if PlatformHelpers.jruby?
skip "Test requires MRI"
end
skip 'Test requires MRI' if PlatformHelpers.jruby?
end

it 'reports DI as enabled' do
Expand All @@ -135,9 +133,7 @@

context 'JRuby' do
before(:all) do
unless PlatformHelpers.jruby?
skip "Test requires JRuby"
end
skip 'Test requires JRuby' unless PlatformHelpers.jruby?
end

it 'reports DI as disabled' do
Expand Down

0 comments on commit 22b8070

Please sign in to comment.