Sha256: bc2f5e60f5d25c914825e3cce2a7ae0ba03a7ff5f811cc5bad14ef48db6fc81f
Contents?: true
Size: 844 Bytes
Versions: 2
Compression:
Stored size: 844 Bytes
Contents
require "spec_helper" module Lumberg module Whostmgr describe Ssl do let(:ssl) { described_class.new(server: server) } let(:domain) { "lumberg-test.com" } let(:server) do Whm::Server.new(host: @whm_host, hash: @whm_hash, whostmgr: true) end describe "#remove" do use_vcr_cassette "whostmgr/ssl/remove" it "removes the cert" do ssl.remove( domain: domain )[:message].should eq "successfully deleted" end end describe "#remove_data" do use_vcr_cassette "whostmgr/ssl/remove_data" it "removes the cert data" do ssl.remove_data( id: 'c2600_26b3b_0e30b9d45805332236d6e4adf003f1b3', type: 'key' )[:message].should eq "deleted successfully" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lumberg-2.0.0.pre9 | spec/whostmgr/ssl_spec.rb |
lumberg-2.0.0.pre8 | spec/whostmgr/ssl_spec.rb |