Commit e5e307dd authored by Alessio Caiazza's avatar Alessio Caiazza

delay scheduled_at evaluation in factory

parent c5b2c66b
......@@ -73,13 +73,13 @@ FactoryBot.define do
trait :scheduled do
schedulable
status 'scheduled'
scheduled_at 1.minute.since
scheduled_at { 1.minute.since }
end
trait :expired_scheduled do
schedulable
status 'scheduled'
scheduled_at 1.minute.ago
scheduled_at { 1.minute.ago }
end
trait :manual do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment