Skip to content

Commit

Permalink
failing after_enqueue test
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 17, 2011
1 parent 65f7bb0 commit 22970a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/job_hooks_test.rb
Expand Up @@ -243,7 +243,7 @@ def self.perform(history)
test "the after enqueue hook should run" do
history = []
@worker = Resque::Worker.new(:jobs)
Resque::Job.create(:jobs, AfterEnqueueJob, history)
Resque::Job.create(:jobs, 'AfterEnqueueJob', history)
@worker.work(0)
assert_equal history, [:after_enqueue], "after_enqueue was not run"
end
Expand Down

0 comments on commit 22970a2

Please sign in to comment.