Sha256: 1af434d1a6a28a3ce6abfa26e4f2988a9da45f0f2d677f864c42b22e76024c12
Contents?: true
Size: 316 Bytes
Versions: 1
Compression:
Stored size: 316 Bytes
Contents
# encoding: US-ASCII require 'spec_helper' require 'ffi/msgpack/extensions/false_class' describe FalseClass do subject { false } 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 == "\xC2" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffi-msgpack-0.2.2 | spec/extensions/false_class_spec.rb |