Skip to content

Commit

Permalink
fix spec cherry-picked from master
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Mar 15, 2010
1 parent f35cc76 commit f81d070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/job_spec.rb
Expand Up @@ -115,7 +115,7 @@ def perform; @@runs += 1; end
Delayed::Job.destroy_failed_jobs = false
Delayed::Job::max_attempts = 1
job = Delayed::Job.enqueue ErrorJob.new
job.run(1)
Delayed::Job.work_off
job.reload
job.last_error.should =~ /did not work/
job.last_error.should =~ /job_spec.rb/
Expand Down

0 comments on commit f81d070

Please sign in to comment.