Sha256: 27932691653a97e9feef58c87942c340ee5dcc7c2ac3d6f7247ff2227a526d9e
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
# encoding: US-ASCII require 'spec_helper' require 'ffi/msgpack/extensions/symbol' describe Symbol do subject { :hello } it "should be packable" do expect(subject).to be_kind_of(FFI::MsgPack::Packable) end it "should pack to a msg" do expect(subject.to_msgpack).to be == "\xA5hello" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffi-msgpack-0.2.2 | spec/extensions/symbol_spec.rb |