spec/pio/packet_in_spec.rb in pio-0.13.0 vs spec/pio/packet_in_spec.rb in pio-0.14.0

- old
+ new

@@ -97,11 +97,14 @@ in_port: 1, reason: :no_match, data: data_dump } end + When { packet_in.datapath_id = 0xabc } + Then { packet_in.datapath_id == 0xabc } + Then { packet_in.dpid == 0xabc } Then { packet_in.ofp_version == 1 } Then { packet_in.message_type == 10 } Then { packet_in.message_length == 78 } Then { packet_in.transaction_id == 0x123 } Then { packet_in.xid == 0x123 } @@ -121,10 +124,13 @@ in_port: 1, reason: :no_match, data: data_dump } end + When { packet_in.dpid = 0xabc } + Then { packet_in.datapath_id == 0xabc } + Then { packet_in.dpid == 0xabc } Then { packet_in.ofp_version == 1 } Then { packet_in.message_type == 10 } Then { packet_in.message_length == 78 } Then { packet_in.transaction_id == 0x123 } Then { packet_in.xid == 0x123 }