Sha256: ad7e7f6501eeacacffb39c906543e5fbe81ca76bdaab6d3b941eb52ab52afd5d
Contents?: true
Size: 275 Bytes
Versions: 1
Compression:
Stored size: 275 Bytes
Contents
require "test_helper" module Sidekiq module Lock describe Worker do it 'sets lock method that points to thread variable' do Thread.current[Sidekiq::Lock::THREAD_KEY] = "test" assert_equal "test", LockWorker.new.lock end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-lock-0.0.1 | test/lib/worker_test.rb |