Sha256: 363d369c5f84bc9b84011499f96a3d36c001ecec4360f21b1931c63cb0f72602

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

require 'pio/open_flow/nicira_resubmit'

describe Pio::OpenFlow::NiciraResubmit do
  describe '.new' do
    When(:nicira_resubmit) do
      Pio::OpenFlow::NiciraResubmit.new(port_number)
    end

    context 'with 1' do
      Given(:port_number) { 1 }

      Then { nicira_resubmit.action_type == 0xffff }
      Then { nicira_resubmit.action_length == 16 }
      Then { nicira_resubmit.vendor == 0x2320 }
      Then { nicira_resubmit.subtype == 1 }
      Then { nicira_resubmit.in_port == 1 }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.1 spec/pio/open_flow/nicira_resubmit_spec.rb