1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/factories/x509_certificate_requests.rb

10 lines
243 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :x509_certificate_request do
association :rsa_public_key
distinguished_name { "CN=#{Faker::Internet.domain_name}" }
pem { OpenSSL::X509::Request.new.to_pem }
end
end