Skip to content

Commit 22970a2

Browse files
committed
failing after_enqueue test
1 parent 65f7bb0 commit 22970a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/job_hooks_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def self.perform(history)
243243
test "the after enqueue hook should run" do
244244
history = []
245245
@worker = Resque::Worker.new(:jobs)
246-
Resque::Job.create(:jobs, AfterEnqueueJob, history)
246+
Resque::Job.create(:jobs, 'AfterEnqueueJob', history)
247247
@worker.work(0)
248248
assert_equal history, [:after_enqueue], "after_enqueue was not run"
249249
end

0 commit comments

Comments
 (0)