diff options
author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-05-23 15:29:48 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-31 10:56:28 +0200 |
commit | 03ff1da278117ce36aaec4e0af267bbc07dc571c (patch) | |
tree | 632577b3d693a6b367aef6fd8397f12b92584684 /spec/factories | |
parent | 1fcc9ad7bb60f83824e1e7ead8a0b07c459ab545 (diff) | |
download | gitlab-ce-03ff1da278117ce36aaec4e0af267bbc07dc571c.tar.gz |
Fix some failures
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/runners.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb index 354aa0f65fc..e9bbb9f36e8 100644 --- a/spec/factories/ci/runners.rb +++ b/spec/factories/ci/runners.rb @@ -9,6 +9,10 @@ FactoryBot.define do is_shared true runner_type :instance_type + trait :online do + contacted_at Time.now + end + trait :instance do is_shared true runner_type :instance_type |