From ecc7c78a925576f3034b25c65b0f0d3611872979 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 18:07:20 +0000 Subject: [PATCH] Fix RuboCop linter error: Remove trailing whitespace Remove trailing whitespace from lines 18 and 21 in sync_job_test.rb to fix Layout/TrailingWhitespace violations. Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com> --- test/jobs/sync_job_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jobs/sync_job_test.rb b/test/jobs/sync_job_test.rb index f2554cecf..a0336ac9d 100644 --- a/test/jobs/sync_job_test.rb +++ b/test/jobs/sync_job_test.rb @@ -15,10 +15,10 @@ class SyncJobTest < ActiveJob::TestCase # Verify that SyncJob has a rescue handler for Provider::TwelveData::RateLimitError # The retry_on declaration adds a rescue_from handler handler_found = SyncJob.rescue_handlers.any? do |handler| - handler.is_a?(Hash) && + handler.is_a?(Hash) && handler[:exception] == Provider::TwelveData::RateLimitError end - + assert handler_found, "SyncJob should have retry_on configured for Provider::TwelveData::RateLimitError" end end