Sha256: b550eca5ef0dedeafd22265091a0e155f6a276f38190fe019aabb5b235e4a125
Contents?: true
Size: 483 Bytes
Versions: 278
Compression:
Stored size: 483 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' require 'puppet/util/windows' describe "Puppet::Util::Windows::RootCerts", :if => Puppet::Util::Platform.windows? do let(:x509_store) { Puppet::Util::Windows::RootCerts.instance.to_a } it "should return at least one X509 certificate" do expect(x509_store.to_a.size).to be >= 1 end it "should return an X509 certificate with a subject" do x509 = x509_store.first expect(x509.subject.to_s).to match(/CN=.*/) end end
Version data entries
278 entries across 278 versions & 1 rubygems