Sha256: 8da1ce445464bb664156de7a4bb9f314fd5e61873c3eafb6da65e61f66ca138c

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

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