summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/factories/ci/builds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 73fa16fe6bf..7a4b1dfafac 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -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