Sha256: f4f5acd26d577e8cf930484cd33a4b7c07ba0061acd97c02168e26fc74cd9e96

Contents?: true

Size: 1.06 KB

Versions: 15

Compression:

Stored size: 1.06 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

15 entries across 15 versions & 1 rubygems

Version Path
lumberg-4.1.0 spec/cpanel/branding_spec.rb
lumberg-4.0.0 spec/cpanel/branding_spec.rb
lumberg-3.1.0 spec/cpanel/branding_spec.rb
lumberg-3.0.0 spec/cpanel/branding_spec.rb
lumberg-2.0.1 spec/cpanel/branding_spec.rb
lumberg-2.0.0 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre20 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre18 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre15 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre12 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre9 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre8 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre7 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre6 spec/cpanel/branding_spec.rb
lumberg-2.0.0.pre5 spec/cpanel/branding_spec.rb