blob: e8ff6cf42b2acbd6eb32959fc84cc665fa52570d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
FactoryBot.define do
factory :serverless_domain_cluster, class: '::Serverless::DomainCluster' do
pages_domain { association(:pages_domain) }
knative { association(:clusters_applications_knative) }
creator { association(:user) }
certificate do
File.read(Rails.root.join('spec/fixtures/', 'ssl_certificate.pem'))
end
key do
File.read(Rails.root.join('spec/fixtures/', 'ssl_key.pem'))
end
end
end
|