From 8275e34e41cc6a6e20c2c4fbfa5dccd9c8e498b6 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Mon, 30 Oct 2017 10:25:28 +0100 Subject: 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. --- spec/factories/ci/builds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/factories/ci/builds.rb') 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 -- cgit v1.2.3