Sha256: dc851379b1a1f0b226fc5947120b19cdb870366b3639ad1f5d828e7effbc8716
Contents?: true
Size: 295 Bytes
Versions: 4
Compression:
Stored size: 295 Bytes
Contents
require 'spec_helper' require 'ffi/msgpack/extensions/hash' describe Hash do subject { {1 => 'a', 2 => 'b'} } it "should be packable" do should be_kind_of(FFI::MsgPack::Packable) end it "should pack to a msg" do subject.to_msgpack.should == "\x82\x01\xA1a\x02\xA1b" end end
Version data entries
4 entries across 4 versions & 1 rubygems