Module: Buildkite::TestCollector::Network::VCRPatch

Defined in:
lib/buildkite/test_collector/network.rb

Instance Method Summary collapse

Instance Method Details

#handleObject



24
25
26
27
28
29
30
# File 'lib/buildkite/test_collector/network.rb', line 24

def handle
  if request_type == :stubbed_by_vcr && tracer = Buildkite::TestCollector::Uploader.tracer
    tracer.current_span.detail.merge!(stubbed: "vcr")
  end

  super
end