Skip to content

Commit 5d0411d

Browse files
committed
Fix faraday spec even though it sends HTTP request
I'll figure it out eventually
1 parent c4e8357 commit 5d0411d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sentry-ruby/spec/sentry/faraday_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@
271271

272272
let(:url) { "http://example.com" }
273273

274+
around do |example|
275+
WebMock.disable!
276+
example.run
277+
WebMock.enable!
278+
end
279+
274280
it "skips instrumentation" do
275281
transaction = Sentry.start_transaction
276282
Sentry.get_current_scope.set_span(transaction)

0 commit comments

Comments
 (0)