Sha256: ed6c9b4b943e897f92d050482532c0e6997101cb8820a88eebe548040761ab35

Contents?: true

Size: 498 Bytes

Versions: 7

Compression:

Stored size: 498 Bytes

Contents

require 'bit-struct'
require_relative '../../../lib/dap/proto/ipmi'

module Dap
module Proto
module IPMI

describe Channel_Auth_Reply do
  it "valid with the proper rmcp version and message length" do
    expect(subject.valid?).to be false
    expect(Channel_Auth_Reply.new(rmcp_version: 6).valid?).to be false
    expect(Channel_Auth_Reply.new(message_length: 16).valid?).to be false
    expect(Channel_Auth_Reply.new(rmcp_version: 6, message_length: 16).valid?).to be true
  end
end

end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dap-0.0.8 spec/dap/proto/ipmi_spec.rb
dap-0.0.7 spec/dap/proto/ipmi_spec.rb
dap-0.0.6 spec/dap/proto/ipmi_spec.rb
dap-0.0.5 spec/dap/proto/ipmi_spec.rb
dap-0.0.4 spec/dap/proto/ipmi_spec.rb
dap-0.0.3 spec/dap/proto/ipmi_spec.rb
dap-0.0.2 spec/dap/proto/ipmi_spec.rb