diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 13:15:14 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 13:15:14 +0100 |
commit | 8e603b62c9305edfa4f5e677ed86a99346e4303f (patch) | |
tree | 4c7c57f8783ae239cd2bd7478fe9fddc95f9f06d /spec/factories/ci | |
parent | 1b14182f21a60384234e79b3a0f02c81d016192d (diff) | |
download | gitlab-ce-8e603b62c9305edfa4f5e677ed86a99346e4303f.tar.gz |
Add missing specs for new methods in pipeline class
Diffstat (limited to 'spec/factories/ci')
-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 e3b73e29987..ed4acca23f1 100644 --- a/spec/factories/ci/runners.rb +++ b/spec/factories/ci/runners.rb @@ -8,6 +8,10 @@ FactoryGirl.define do is_shared false active true + trait :online do + contacted_at Time.now + end + trait :shared do is_shared true end |