Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenaniah committed Jan 26, 2022
1 parent 081bbee commit 6b40cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/test_jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class RetriedJob < StubJob
def perform
Sidekiq.redis do |conn|
key = "RetriedJob_#{jid}"
unless conn.exists(key) > 0
if [0, false].include? conn.exists(key)
conn.set key, 'tried'
raise StandardError
end
Expand Down

0 comments on commit 6b40cb8

Please sign in to comment.