From 5626ed32c6ef6f5bd1d99ba6c7c300429d2d2c36 Mon Sep 17 00:00:00 2001 From: Amir Sharif Date: Tue, 21 Mar 2023 10:50:13 -0700 Subject: [PATCH] Update rspec.rb --- lib/singed/rspec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/singed/rspec.rb b/lib/singed/rspec.rb index 9445b9c..fb16285 100644 --- a/lib/singed/rspec.rb +++ b/lib/singed/rspec.rb @@ -1,5 +1,7 @@ require 'singed' +return unless defined?(RSpec) + RSpec.configure do |config| config.around do |example| if example.metadata[:flamegraph]