spec/arborist/node/host_spec.rb in arborist-0.4.0 vs spec/arborist/node/host_spec.rb in arborist-0.5.0

- old
+ new

@@ -11,9 +11,15 @@ result = described_class.new( 'testhost' ) expect( result.addresses ).to be_empty end + it "knows its family catagorization" do + result = described_class.new( 'testhost' ) + expect( result.family ).to eq( :host ) + end + + it "can be created with a single IPv4 address" do result = described_class.new( 'testhost' ) do address '192.168.118.3' end