Sha256: 35f3f799189a4b416b5dcc3162b18c513953807876ef5788d66df1f78a45ca9b

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

require 'spec_env'

describe "When adding an SSL certificate" do
  
	before(:all) do
		configure false do |cfg|
			@binding = cfg.get_sites[0].bindings[0]
			@binding.add_ssl_certificate "e2564766bad7ebec8cf6899caa2a27c6391c4f19", "MY"
		end
	end

  it "the cert hash should be set" do
	  @binding.certificateHash.downcase.should == "e2564766bad7ebec8cf6899caa2a27c6391c4f19"
  end

	 it "the cert store name should be set" do
    @binding.certificateStoreName.should == "MY"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inetmgr-0.6.0 spec/bingin_information_spec.rb
inetmgr-0.5.0 spec/bingin_information_spec.rb
inetmgr-0.4.0 spec/bingin_information_spec.rb
inetmgr-0.3.0-mswin32 spec/bingin_information_spec.rb