summaryrefslogtreecommitdiff
path: root/spec/support/profiler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/profiler.rb')
-rw-r--r--spec/support/profiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/profiler.rb b/spec/support/profiler.rb
index 3b8b36b..51da8fb 100644
--- a/spec/support/profiler.rb
+++ b/spec/support/profiler.rb
@@ -7,7 +7,7 @@ RSpec.configure do |config|
def with_profiler(*_args)
RubyProf::GraphPrinter
.new(RubyProf.profile { yield })
- .print(STDOUT, {})
+ .print($stdout, {})
end
end)
end