diff --git a/4.0-Upgrade.md b/4.0-Upgrade.md index 580db118..bb791092 100644 --- a/4.0-Upgrade.md +++ b/4.0-Upgrade.md @@ -29,9 +29,9 @@ gem 'redis-namespace' assertions made against the Worker class still work as expected. ```ruby assert_equal 0, Sidekiq::Queues["default"].size -HardWorker.perform_async(:something) +HardWorker.perform_async("log") assert_equal 1, Sidekiq::Queues["default"].size -assert_equal :something, Sidekiq::Queues["default"].first['args'][0] +assert_equal "log", Sidekiq::Queues["default"].first['args'][0] Sidekiq::Queues.clear_all ``` diff --git a/Changes.md b/Changes.md index 91c072dc..ed9f335f 100644 --- a/Changes.md +++ b/Changes.md @@ -12,9 +12,9 @@ [#2659, brandonhilkert] ```ruby assert_equal 0, Sidekiq::Queues["default"].size -HardWorker.perform_async(:something) +HardWorker.perform_async("log") assert_equal 1, Sidekiq::Queues["default"].size -assert_equal :something, Sidekiq::Queues["default"].first['args'][0] +assert_equal "log", Sidekiq::Queues["default"].first['args'][0] Sidekiq::Queues.clear_all ```