Skip to content
Browse files

Adding specs for the previous (e0991e2) commit. Since retry can be ei…

…ther instant or with delay, I added two separate tests for each case just to be safe.
  • Loading branch information...
1 parent e0991e2 commit faca3259bfbe4f08eef04853880ddf8c0e2fe1bf Patrick Roby committed Oct 2, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/unit/job_spec.rb
4 spec/unit/job_spec.rb
@@ -47,7 +47,9 @@ class Nested
[:fail, 'group', 'message'],
- [:move, 'queue']
+ [:move, 'queue'],
+ [:retry],
+ [:retry, 55]
].each do |meth, *args|
describe "##{meth}" do
let(:job) {, JobClass) }

0 comments on commit faca325

Please sign in to comment.
Something went wrong with that request. Please try again.