Module: Buildkite::TestCollector::Network::WebMockPatch
- Defined in:
- lib/buildkite/test_collector/network.rb
Instance Method Summary collapse
Instance Method Details
#response_for_request(request_signature) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/buildkite/test_collector/network.rb', line 47 def response_for_request(request_signature) response_from_webmock = super if response_from_webmock && tracer = Buildkite::TestCollector::Uploader.tracer tracer.current_span.detail.merge!(stubbed: "webmock") end response_from_webmock end |