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:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-04-03 17:58:27 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2018-04-04 17:11:17 +0300
commit964933c9638c7d039a2843375d76c76c0b2cf25e (patch)
treeb1887dca99cff898057460804802a5944b15d8bc /spec/factories/ci
parentb15dd5dfa2ac269763d6342d7f0b3d9a64eb7fe4 (diff)
Create metadata object on build object creation
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/build_metadata.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/factories/ci/build_metadata.rb b/spec/factories/ci/build_metadata.rb
deleted file mode 100644
index 66bbd977b88..00000000000
--- a/spec/factories/ci/build_metadata.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-FactoryBot.define do
- factory :ci_build_metadata, class: Ci::BuildMetadata do
- build factory: :ci_build
-
- after(:build) do |build_metadata, _|
- build_metadata.project ||= build_metadata.build.project
- end
- end
-end