Sha256: 8114dc5e1893439b68e71df9a76be7aa6765d995cab07051516b1c311627924b
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
describe TellaPeer::Ping do let(:message) do TellaPeer::Ping.new end it { expect(message.type).to be TellaPeer::MessageTypes::PING } it { expect(message.payload_length).to be 0 } context '#ping_to_pong' do let(:pong) { message.ping_to_pong } it { expect(pong.message_id).to eq message.message_id } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tella_peer-0.0.1 | spec/tella_peer/ping_spec.rb |