Sha256: 1d7eaab64fc993f8eaae85ef42073b46ebd90546a83d9aac73ef0bc94ab46a14
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
FactoryGirl.define do factory :job do id { SecureRandom.uuid } queue :default status JobDispatch::Job::PENDING parameters [] target "SecureRandom" add_attribute(:method) { "uuid" } enqueued_at { Time.now } scheduled_at { Time.at(0) } expire_execution_at { nil} timeout 10 retry_count 0 retry_delay 20 completed_at nil result nil end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
job_dispatch-0.2.0 | spec/factories/jobs.rb |
job_dispatch-0.1.0 | spec/factories/jobs.rb |
job_dispatch-0.0.2 | spec/factories/jobs.rb |
job_dispatch-0.0.1 | spec/factories/jobs.rb |