We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8572e commit 3fc0e46Copy full SHA for 3fc0e46
sentry-ruby/spec/sentry_spec.rb
@@ -457,15 +457,9 @@
457
458
expect(transaction.sampled).to eq(false)
459
460
- transaction = Sentry.continue_trace(
461
- {
462
- "sentry-trace" => not_sampled_trace,
463
- "baggage" => "sentry-sample_rand=0.4"
464
- },
465
- op: "rack.request",
466
- name: "/payment"
+ transaction = described_class.start_transaction(
+ op: "rack.request", name: "/payment", sample_rand: 0.4
467
)
468
- described_class.start_transaction(transaction: transaction)
469
470
expect(transaction.sampled).to eq(true)
471
end
0 commit comments