From 28343b588c5bc6651b28a6f3a3275e1f48b93af2 Mon Sep 17 00:00:00 2001 From: Arthur Campbell Date: Wed, 12 Jun 2024 10:21:30 +0100 Subject: [PATCH] add testprof env variables to spec helper --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9677a128c..95f685226 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -29,6 +29,9 @@ SimpleCov.start "rails" do add_filter "app/channels/application_cable/connection.rb" end +ENV["EVENT_PROF"] = "sql.activerecord" +ENV["FDOC"] = "1" + RSpec.configure do |config| # rspec-expectations config goes here. You can use an alternate # assertion/expectation library such as wrong or the stdlib/minitest