blob: f5a30078b2d0afefe0402315de6eebd7b7a31060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|