Sha256: e7c8b438808715776a7b707bcb6d921e33f86d16d712366de7d56c598bbd8d97

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

require 'pio/open_flow13/features_request'

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

    context "with body: 'abcde'" do
      When(:message) { Pio::OpenFlow13::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_flow13/features_request_spec.rb
pio-0.26.0 spec/pio/open_flow13/features_request_spec.rb
pio-0.25.0 spec/pio/open_flow13/features_request_spec.rb
pio-0.24.2 spec/pio/open_flow13/features_request_spec.rb
pio-0.24.1 spec/pio/open_flow13/features_request_spec.rb
pio-0.24.0 spec/pio/open_flow13/features_request_spec.rb