diff --git a/spec/integration/json_spy_spec.rb b/spec/integration/json_spy_spec.rb index 18efbf0f1..6223a4362 100644 --- a/spec/integration/json_spy_spec.rb +++ b/spec/integration/json_spy_spec.rb @@ -48,7 +48,7 @@ module ElasticAPM end end - expect(@intercepted.spans.length).to be 1 + expect(@intercepted.spans.length).to be >= 1 expect(@intercepted.spans.last.name).to eq 'JSON#parse!' end