diff --git a/spec/apollo-studio-tracing/tracing_spec.rb b/spec/apollo-studio-tracing/tracing_spec.rb index 64e6948fa..5f91bc22c 100644 --- a/spec/apollo-studio-tracing/tracing_spec.rb +++ b/spec/apollo-studio-tracing/tracing_spec.rb @@ -77,6 +77,8 @@ def clear_reports ns = 42 allow(Process).to receive(:clock_gettime) .with(Process::CLOCK_MONOTONIC, :nanosecond) { ns += 1 } + allow(Process).to receive(:clock_gettime) + .with(Process::CLOCK_MONOTONIC) { ns += 1 } end describe 'respecting options on context' do