We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f7bb0 commit 22970a2Copy full SHA for 22970a2
test/job_hooks_test.rb
@@ -243,7 +243,7 @@ def self.perform(history)
243
test "the after enqueue hook should run" do
244
history = []
245
@worker = Resque::Worker.new(:jobs)
246
- Resque::Job.create(:jobs, AfterEnqueueJob, history)
+ Resque::Job.create(:jobs, 'AfterEnqueueJob', history)
247
@worker.work(0)
248
assert_equal history, [:after_enqueue], "after_enqueue was not run"
249
end
0 commit comments