Sha256: a88cda98744e0590956cb35f0cb5758077e65a89cf8675cec58989f0e54f3ae0
Contents?: true
Size: 698 Bytes
Versions: 2
Compression:
Stored size: 698 Bytes
Contents
require "spec_helper" module Lumberg describe Cpanel::Net do let(:server) { Whm::Server.new(:host => @whm_host, :hash => @whm_hash) } let(:api_username) { "lumberg" } let(:net) do described_class.new( :server => server, :api_username => api_username ) end describe "#traceroute" do use_vcr_cassette "cpanel/net/traceroute" subject { net.traceroute[:params][:data] } it { should be_an(Array) } end describe "#query_hostname" do use_vcr_cassette "cpanel/net/query_hostname" subject { net.query_hostname({ :host => 'google.com' })[: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/net_spec.rb |
lumberg-2.0.0.pre3 | spec/cpanel/net_spec.rb |