Skip to content

Commit

Permalink
Avoid running Profiling::Ext::Forking specs on unsupported Rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Feb 1, 2023
1 parent 4e95ff4 commit 6b1f5ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/datadog/profiling/ext/forking_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
require 'datadog/profiling/ext/forking'

RSpec.describe Datadog::Profiling::Ext::Forking do
describe '::apply!' do
before { skip_if_profiling_not_supported(self) }
before { skip_if_profiling_not_supported(self) }

describe '::apply!' do
subject(:apply!) { described_class.apply! }

let(:toplevel_receiver) { TOPLEVEL_BINDING.receiver }
Expand Down

0 comments on commit 6b1f5ce

Please sign in to comment.