Commit 322080ea authored by Nick Thomas's avatar Nick Thomas

Rename EE::Ci::RegisterBuildService -> EE::Ci::RegisterJobService

parent 0472a881
......@@ -3,7 +3,7 @@ module Ci
# proper pending build to runner on runner API request
class RegisterJobService
include Gitlab::CurrentSettings
prepend EE::Ci::RegisterBuildService
prepend EE::Ci::RegisterJobService
attr_reader :runner
......
module EE
module Ci
# RegisterBuildService EE mixin
# RegisterJobService EE mixin
#
# This module is intended to encapsulate EE-specific service logic
# and be included in the `RegisterBuildService` service
module RegisterBuildService
# and be included in the `RegisterJobService` service
module RegisterJobService
extend ActiveSupport::Concern
def builds_for_shared_runner
......
require 'spec_helper'
module Ci
describe RegisterBuildService, services: true do
describe RegisterJobService, services: true do
let!(:project) { create :empty_project, shared_runners_enabled: false }
let!(:pipeline) { create :ci_empty_pipeline, project: project }
let!(:pending_build) { create :ci_build, pipeline: pipeline }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment