Sha256: ebeda4e0c0243a2b1e446f830a4b62043a2e43f84e1427c4025d2d7dfa28f3c7

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

require "spec_helper"

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

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

      subject { backups.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/backups_spec.rb
lumberg-2.0.0.pre3 spec/cpanel/backups_spec.rb