diff options
Diffstat (limited to 'spec/support/graphql/fake_tracer.rb')
-rw-r--r-- | spec/support/graphql/fake_tracer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/graphql/fake_tracer.rb b/spec/support/graphql/fake_tracer.rb index c2fb7ed12d8..58688c9abd0 100644 --- a/spec/support/graphql/fake_tracer.rb +++ b/spec/support/graphql/fake_tracer.rb @@ -6,8 +6,8 @@ module Graphql @trace_callback = trace_callback end - def trace(*args) - @trace_callback.call(*args) + def trace(...) + @trace_callback.call(...) yield end |