Sha256: 7a108c2fac6e5a821a211f7359eeafc14b858a569706481f72ba3c821f41386b

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

require 'pio/open_flow10/features'

describe Pio::OpenFlow10::Features::Request do
  describe '.new' do
    it_should_behave_like('an OpenFlow message',
                          Pio::OpenFlow10::Features::Request)

    context "with body: 'abcde'" do
      When(:message) { Pio::OpenFlow10::Features::Request.new(body: 'abcde') }
      Then { message == Failure(RuntimeError, 'Unknown option: body') }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pio-0.27.0 spec/pio/open_flow10/features_request_spec.rb
pio-0.26.0 spec/pio/open_flow10/features_request_spec.rb
pio-0.25.0 spec/pio/open_flow10/features_request_spec.rb
pio-0.24.2 spec/pio/open_flow10/features_request_spec.rb
pio-0.24.1 spec/pio/open_flow10/features_request_spec.rb
pio-0.24.0 spec/pio/open_flow10/features_request_spec.rb