diff options
Diffstat (limited to 'spec/services/deployments/create_for_job_service_spec.rb')
-rw-r--r-- | spec/services/deployments/create_for_job_service_spec.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/services/deployments/create_for_job_service_spec.rb b/spec/services/deployments/create_for_job_service_spec.rb new file mode 100644 index 00000000000..f5a30078b2d --- /dev/null +++ b/spec/services/deployments/create_for_job_service_spec.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Deployments::CreateForJobService, feature_category: :continuous_delivery do + let_it_be(:project) { create(:project, :repository) } + let_it_be(:user) { create(:user) } + + let(:service) { described_class.new } + + it_behaves_like 'create deployment for job' do + let(:factory_type) { :ci_build } + end + + it_behaves_like 'create deployment for job' do + let(:factory_type) { :ci_bridge } + end +end |