diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-20 20:02:36 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-21 10:37:57 +0300 |
commit | 87b85ef81cadacc753a5c538280d045a1bf35549 (patch) | |
tree | ec2f4e9151431b89c6527aba2f35667566eb743d /spec/factories/ci/builds.rb | |
parent | 67cdb1d1be14c893bf195a9f0bc8ba82e5fce91c (diff) |
Fix DynamicAttributeDefinedStatically cop
Diffstat (limited to 'spec/factories/ci/builds.rb')
-rw-r--r-- | spec/factories/ci/builds.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 9813190925b..0baa4ecc4e0 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -159,12 +159,12 @@ FactoryBot.define do end trait :erased do - erased_at Time.now + erased_at { Time.now } erased_by factory: :user end trait :queued do - queued_at Time.now + queued_at { Time.now } runner factory: :ci_runner end @@ -194,7 +194,7 @@ FactoryBot.define do end trait :expired do - artifacts_expire_at 1.minute.ago + artifacts_expire_at { 1.minute.ago } end trait :with_commit do |