Sha256: d865b4dc3cf7c698cb8e7c3a9ffa0588b60a1e18ab5468221ca61d823a96b91d

Contents?: true

Size: 473 Bytes

Versions: 20

Compression:

Stored size: 473 Bytes

Contents

require 'pio/strip_vlan_header'

describe Pio::StripVlanHeader do
  Given(:strip_vlan_header) { Pio::StripVlanHeader.new }

  describe '#type' do
    When(:type) { strip_vlan_header.type }
    Then { type == 3 }
  end

  describe '#message_length' do
    When(:message_length) { strip_vlan_header.message_length }
    Then { message_length == 8 }
  end

  describe '#to_binary' do
    When(:binary) { strip_vlan_header.to_binary }
    Then { binary.length == 8 }
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pio-0.21.0 spec/pio/strip_vlan_header_spec.rb
pio-0.20.1 spec/pio/strip_vlan_header_spec.rb
pio-0.20.0 spec/pio/strip_vlan_header_spec.rb
pio-0.19.0 spec/pio/strip_vlan_header_spec.rb
pio-0.18.2 spec/pio/strip_vlan_header_spec.rb
pio-0.18.1 spec/pio/strip_vlan_header_spec.rb
pio-0.18.0 spec/pio/strip_vlan_header_spec.rb
pio-0.17.0 spec/pio/strip_vlan_header_spec.rb
pio-0.16.0 spec/pio/strip_vlan_header_spec.rb
pio-0.15.2 spec/pio/strip_vlan_header_spec.rb
pio-0.15.1 spec/pio/strip_vlan_header_spec.rb
pio-0.15.0 spec/pio/strip_vlan_header_spec.rb
pio-0.14.0 spec/pio/strip_vlan_header_spec.rb
pio-0.13.0 spec/pio/strip_vlan_header_spec.rb
pio-0.12.0 spec/pio/strip_vlan_header_spec.rb
pio-0.11.2 spec/pio/strip_vlan_header_spec.rb
pio-0.11.1 spec/pio/strip_vlan_header_spec.rb
pio-0.11.0 spec/pio/strip_vlan_header_spec.rb
pio-0.10.1 spec/pio/strip_vlan_header_spec.rb
pio-0.10.0 spec/pio/strip_vlan_header_spec.rb