Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/deploy_tokens.rb')
-rw-r--r--spec/factories/deploy_tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/deploy_tokens.rb b/spec/factories/deploy_tokens.rb
index 45e92869e22..379178f1a41 100644
--- a/spec/factories/deploy_tokens.rb
+++ b/spec/factories/deploy_tokens.rb
@@ -22,7 +22,7 @@ FactoryBot.define do
end
trait :expired do
- expires_at { Date.today - 1.month }
+ expires_at { Date.current - 1.month }
end
trait :group do