From b0695703d04c4959f0fce951fbace12ca5c168a4 Mon Sep 17 00:00:00 2001 From: jonathan schatz Date: Fri, 10 Jan 2025 16:18:44 -0800 Subject: [PATCH] skip retry_on tests with rails < 5.1 --- sentry-rails/spec/sentry/rails/activejob_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-rails/spec/sentry/rails/activejob_spec.rb b/sentry-rails/spec/sentry/rails/activejob_spec.rb index e3a500fe4..d2b263737 100644 --- a/sentry-rails/spec/sentry/rails/activejob_spec.rb +++ b/sentry-rails/spec/sentry/rails/activejob_spec.rb @@ -389,7 +389,7 @@ def perform(event, hint) end end - describe "active_job_report_after_job_retries" do + describe "active_job_report_after_job_retries", skip: Rails.version.to_f < 5.1 do before do allow(Sentry::Rails::ActiveJobExtensions::SentryReporter) .to receive(:capture_exception)