Sha256: 01606659dcbc0adf2c16185f156772a54f6eeb538acd7dff1a9aa6971f916622
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
# encoding: US-ASCII require 'spec_helper' require 'ffi/msgpack/extensions/nil_class' describe NilClass do subject { nil } 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 == "\xC0" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffi-msgpack-0.2.2 | spec/extensions/nil_class_spec.rb |