diff options
Diffstat (limited to 'spec/factories/ci/running_builds.rb')
-rw-r--r-- | spec/factories/ci/running_builds.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/ci/running_builds.rb b/spec/factories/ci/running_builds.rb new file mode 100644 index 00000000000..96d2e6913f4 --- /dev/null +++ b/spec/factories/ci/running_builds.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :ci_running_build, class: 'Ci::RunningBuild' do + build factory: :ci_build + project + runner factory: :ci_runner + runner_type { runner.runner_type } + end +end |