diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-10-30 12:25:28 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-10-30 12:25:30 +0300 |
commit | 8275e34e41cc6a6e20c2c4fbfa5dccd9c8e498b6 (patch) | |
tree | f8b5f6153a9bcecf014b28d6dd3fcf4fbef67c45 /spec/factories/ci/builds.rb | |
parent | 2573818f6d53f5d89a2615b78551253a3bab4cfa (diff) |
Ci::Build tag is a trait instead of an own factory
Minor annoyance of mine, and there were a couple of things wrong, for
example:
1. Switching on a property is just a trait
2. It didn't inherrit from its parent
Find and replace through the code based fixed all occurances.
Diffstat (limited to 'spec/factories/ci/builds.rb')
-rw-r--r-- | spec/factories/ci/builds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index c2b59239af9..cf38066dedc 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -119,7 +119,7 @@ FactoryGirl.define do finished_at nil end - factory :ci_build_tag do + trait :tag do tag true end |