Sha256: 85609a70e8ce1b0138d6c0abb88ce3e8f0c6a1ab6f0ac4750b7dca9c44b0e557

Contents?: true

Size: 486 Bytes

Versions: 15

Compression:

Stored size: 486 Bytes

Contents

require 'spec_helper'
describe Infoblox::HostIpv4addr do

  it "should have correct post attributes" do
    expected = [:host]
    expect(Infoblox::HostIpv4addr.remote_post_attrs).to eq(expected)

    expected = [
      :bootfile, 
      :configure_for_dhcp, 
      :ipv4addr, 
      :mac, 
      :network, 
      :nextserver, 
      :use_bootfile, 
      :use_nextserver].map(&:to_s).sort
    expect(Infoblox::HostIpv4addr.remote_attrs.map(&:to_s).sort).to eq(expected)
  end
end  
  

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
infoblox-3.0.0 spec/host_ipv4addr_spec.rb
infoblox-2.0.5 spec/host_ipv4addr_spec.rb
infoblox-2.0.4 spec/host_ipv4addr_spec.rb
infoblox-2.0.3 spec/host_ipv4addr_spec.rb
infoblox-2.0.2 spec/host_ipv4addr_spec.rb
infoblox-2.0.1 spec/host_ipv4addr_spec.rb
infoblox-2.0.0 spec/host_ipv4addr_spec.rb
infoblox-1.0.1 spec/host_ipv4addr_spec.rb
infoblox-1.0.0 spec/host_ipv4addr_spec.rb
infoblox-0.5.3 spec/host_ipv4addr_spec.rb
infoblox-0.5.2 spec/host_ipv4addr_spec.rb
infoblox-0.5.1 spec/host_ipv4addr_spec.rb
infoblox-0.5.0 spec/host_ipv4addr_spec.rb
infoblox-0.4.1 spec/host_ipv4addr_spec.rb
infoblox-0.4.0 spec/host_ipv4addr_spec.rb