Sha256: 66e2d42e64c3ac1ea72fd1ea353f104e0dda3e055085e3454b29d6cc91d5e824

Contents?: true

Size: 327 Bytes

Versions: 8

Compression:

Stored size: 327 Bytes

Contents

require 'spec_helper'
describe Infoblox::Host, "#add_ipv4addr" do
  it "adds an address correctly" do
    host = Infoblox::Host.new
    host.add_ipv4addr("10.10.10.10")
    host.add_ipv4addr("10.10.10.12")
    host.ipv4addrs[0].should be_a(Infoblox::Ipv4addr)
    host.ipv4addrs[0].ipv4addr.should eq("10.10.10.10")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
infoblox-0.0.10 spec/host_spec.rb
infoblox-0.0.9 spec/host_spec.rb
infoblox-0.0.8 spec/host_spec.rb
infoblox-0.0.7 spec/host_spec.rb
infoblox-0.0.6 spec/host_spec.rb
infoblox-0.0.5 spec/host_spec.rb
infoblox-0.0.4 spec/host_spec.rb
infoblox-0.0.3 spec/host_spec.rb