Sha256: 0f392765549b8b49013a0708338a35ce0df1a2ba7955aa49c4e5b36cb4d8175f
Contents?: true
Size: 533 Bytes
Versions: 5
Compression:
Stored size: 533 Bytes
Contents
require 'pio/open_flow10/strip_vlan_header' describe Pio::OpenFlow10::StripVlanHeader do Given(:strip_vlan_header) { Pio::OpenFlow10::StripVlanHeader.new } describe '#action_type' do When(:action_type) { strip_vlan_header.action_type } Then { action_type == 3 } end describe '#action_length' do When(:action_length) { strip_vlan_header.action_length } Then { action_length == 8 } end describe '#to_binary' do When(:binary) { strip_vlan_header.to_binary } Then { binary.length == 8 } end end
Version data entries
5 entries across 5 versions & 1 rubygems