Sha256: 14922786897c5c698b62ff63893396e7f77868281854213a796043f19869507e

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

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