Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit faca3259bfbe4f08eef04853880ddf8c0e2fe1bf 1 parent e0991e2
Patrick Roby authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/unit/job_spec.rb
View
4 spec/unit/job_spec.rb
@@ -47,7 +47,9 @@ class Nested
[:fail, 'group', 'message'],
[:complete],
[:cancel],
- [:move, 'queue']
+ [:move, 'queue'],
+ [:retry],
+ [:retry, 55]
].each do |meth, *args|
describe "##{meth}" do
let(:job) { Job.build(client, JobClass) }
Please sign in to comment.
Something went wrong with that request. Please try again.