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