mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 15:15:01 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user