Module: RSpec::Buildkite::Analytics::Network::WebMockPatch
- Defined in:
- lib/rspec/buildkite/analytics/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/rspec/buildkite/analytics/network.rb', line 47 def response_for_request(request_signature) response_from_webmock = super if response_from_webmock && tracer = RSpec::Buildkite::Analytics::Uploader.tracer tracer.current_span.detail.merge!(stubbed: "webmock") end response_from_webmock end |