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