Sha256: 581bd13fc0c21a262c6ba60b63c77292956b1dd46d8af2de0bcbd9dce5a8483e

Contents?: true

Size: 489 Bytes

Versions: 15

Compression:

Stored size: 489 Bytes

Contents

require "spec_helper"

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

    describe "#list" do
      use_vcr_cassette("cpanel/box_trapper/list")

      subject { boxtrapper.list[:params][:data] }

      it { should be_an(Array) }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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