Skip to content

Commit 0e8572e

Browse files
committed
Remove unused method
1 parent f1881f5 commit 0e8572e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

spec/features/tracing_spec.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,6 @@ def expect_dsc_in_envelope_headers
2828
dsc_metadata
2929
end
3030

31-
def get_http_server_transactions_with_headers
32-
transaction_events = logged_events[:events].select { |event| event["type"] == "transaction" }
33-
expect(transaction_events).not_to be_empty
34-
35-
http_server_transactions = transaction_events.select { |event|
36-
event.dig("contexts", "trace", "op") == "http.server"
37-
}
38-
expect(http_server_transactions).not_to be_empty
39-
40-
transactions_with_headers = http_server_transactions.select { |transaction|
41-
headers = transaction.dig("request", "headers")
42-
headers && (headers["Sentry-Trace"] || headers["sentry-trace"])
43-
}
44-
expect(transactions_with_headers).not_to be_empty
45-
46-
transactions_with_headers
47-
end
4831
it "validates basic tracing functionality" do
4932
visit "/error"
5033

0 commit comments

Comments
 (0)