Sha256: 5ed7b18a8b513a959d07ddb63bb1f71800d4c80e97735933ea4341ac38aaccbc
Contents?: true
Size: 933 Bytes
Versions: 8
Compression:
Stored size: 933 Bytes
Contents
require "spec_helper" RSpec.describe Digicert::ClientCertificate::EmailSecurityPlus do describe ".create" do it "creates a new order for a email security plus certificate" do stub_digicert_order_create_api( "client_email_security_plus", order_attributes ) order = Digicert::ClientCertificate::EmailSecurityPlus.create( order_attributes, ) expect(order.id).not_to be_nil end end def order_attributes { certificate: { organization_units: ["Developer Operations"], server_platform: { id: 45 }, profile_option: "some_ssl_profile", # Required for certificate emails: ["email@example.com", "email1@example.com"], common_name: "Full Name", signature_hash: "sha256", }, organization: { id: 117483 }, validity_years: 3, auto_renew: 10, renewal_of_order_id: 314152, } end end
Version data entries
8 entries across 8 versions & 1 rubygems