spec/dap/proto/ipmi_spec.rb in dap-0.0.1 vs spec/dap/proto/ipmi_spec.rb in dap-0.0.2

- old
+ new

@@ -5,13 +5,13 @@ 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 + 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