spec/pio/lldp_spec.rb in pio-0.2.6 vs spec/pio/lldp_spec.rb in pio-0.2.7

- old
+ new

@@ -149,9 +149,10 @@ its( "destination_mac.to_s" ) { should eq "01:80:c2:00:00:0e" } its( "source_mac.to_s" ) { should eq "00:19:2f:a7:b2:8d" } its( :ether_type ) { should eq 0x88cc } its( :dpid ) { should eq 108173701773 } + its( 'dpid.class' ) { should eq Fixnum } its( :chassis_id ) { should eq 108173701773 } its( :port_id ) { should eq "Uplink to S1" } its( :port_number ) { should eq "Uplink to S1" } its( :ttl ) { should eq 120 } its( :port_description ) { should be_nil }