Sha256: e690f285494bf52f983e951b323c65e0a1d468adffa8940958756e2f542746a8

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

require "spec_helper"

module Lumberg
  describe Cpanel::Branding do
    let(:server) { Whm::Server.new(:host => @whm_host, :hash => @whm_hash) }
    let(:api_username) { "lumberg" }
    let(:branding) do
      described_class.new(
        :server       => server,
        :api_username => api_username
      )
    end

    subject { branding }

    describe "#list_pkgs" do
      use_vcr_cassette("cpanel/branding/list_pkgs")

      its(:list_pkgs) { should return_a_list }
    end

    describe "#list_sprites" do
      use_vcr_cassette("cpanel/branding/list_sprites")

      its(:list_sprites) { should return_a_list }
    end

    describe "#list_icons" do
      use_vcr_cassette("cpanel/branding/list_icons")

      its(:list_icons) { should return_a_list }
    end

    describe "#list_object_types" do
      use_vcr_cassette("cpanel/branding/list_object_types")

      its(:list_object_types) { should return_a_list }
    end

    describe "#list_image_types" do
      use_vcr_cassette("cpanel/branding/list_image_types")

      its(:list_image_types) { should return_a_list }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lumberg-2.0.0.pre4 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre3 spec/cpanel/branding_spec.rb