Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/graphql/fake_tracer.rb')
-rw-r--r--spec/support/graphql/fake_tracer.rb4
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