Sha256: 349ef73369720ed5a193a3b60e1930dcd7afc26b65bf45ffc01f0fa0a3a04a99

Contents?: true

Size: 486 Bytes

Versions: 15

Compression:

Stored size: 486 Bytes

Contents

require "spec_helper"

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

    describe "#show" do
      use_vcr_cassette "cpanel/locale/show"

      subject { locale.show[:params][:data][0][:encoding] }

      it { should be_a(String) }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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