Skip to content

Commit

Permalink
Remove #sample? test case
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Apr 17, 2024
1 parent aad14ac commit eb0737d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spec/datadog/tracing/sampling/rule_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@
end
end

describe '#sample?' do
subject(:sample?) { rule.sample?(trace_op) }

let(:sample) { double }

before do
allow(sampler).to receive(:sample?).with(trace_op).and_return(sample)
end

it { is_expected.to be(sample) }
end

describe '#sample_rate' do
subject(:sample_rate) { rule.sample_rate(trace_op) }

Expand Down

0 comments on commit eb0737d

Please sign in to comment.