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 ...@@ -73,13 +73,13 @@ FactoryBot.define do
trait :scheduled do trait :scheduled do
schedulable schedulable
status 'scheduled' status 'scheduled'
scheduled_at 1.minute.since scheduled_at { 1.minute.since }
end end
trait :expired_scheduled do trait :expired_scheduled do
schedulable schedulable
status 'scheduled' status 'scheduled'
scheduled_at 1.minute.ago scheduled_at { 1.minute.ago }
end end
trait :manual do 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