Sha256: de9b58efc1458f60efddc2c5e412d4c586037d3feb4c4f33b3d18584c3ae0791
Contents?: true
Size: 650 Bytes
Versions: 9
Compression:
Stored size: 650 Bytes
Contents
require "spec_helper" RSpec.describe "Organization Management" do describe "fetching an organization", api_call: true do it "fetches the organization details" do organizations = Digicert::Organization.all organization = Digicert::Organization.fetch(organizations.first.id) expect(organization.name).to eq("Ribose Inc.") expect(organization.id).to eq(organization_id) expect(organization.container.id).to eq(container_id) end end def container_id @container_id ||= ENV["DIGICERT_CONTAINER_ID"].to_i end def organization_id @organization_id ||= ENV["DIGICERT_ORGANIZATION_ID"].to_i end end
Version data entries
9 entries across 9 versions & 1 rubygems