Sha256: 9b01a810cbabed4cdcbeecac2449828bc51b1aebfb2cf14dd58aa45778008102

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 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 "You have successfully deleted the SSL host"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lumberg-2.0.0.pre7 spec/whostmgr/ssl_spec.rb