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:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-30 12:25:28 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-30 12:25:30 +0300
commit8275e34e41cc6a6e20c2c4fbfa5dccd9c8e498b6 (patch)
treef8b5f6153a9bcecf014b28d6dd3fcf4fbef67c45 /spec/factories/ci/builds.rb
parent2573818f6d53f5d89a2615b78551253a3bab4cfa (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.rb2
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