Skip to content

Commit

Permalink
use WebMock.allow_net_connect! after test
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jul 4, 2024
1 parent e6add8c commit 6650e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/datadog/core/telemetry/http/adapters/net_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
end

after do
WebMock.disable!
WebMock.allow_net_connect!
end

it 'makes real HTTP request and fails' do
Expand Down

0 comments on commit 6650e3f

Please sign in to comment.