test/lib/worker_test.rb in sidekiq-lock-0.3.0 vs test/lib/worker_test.rb in sidekiq-lock-0.3.1
- old
+ new
@@ -1,10 +1,9 @@
-require "test_helper"
+require 'test_helper'
module Sidekiq
module Lock
describe Worker do
-
after { set_lock_variable! }
it 'sets lock method that points to thread variable' do
set_lock_variable! "test"
assert_equal "test", LockWorker.new.lock