Sha256: d107ff49c40f26009a749971127bee2b942d3560fe0a661b493b908157f4a923

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

require 'spec_helper'
require 'ffi/msgpack/extensions/false_class'

describe FalseClass do
  subject { false }

  it "should be packable" do
    should be_kind_of(FFI::MsgPack::Packable)
  end

  it "should pack to a msg" do
    subject.to_msgpack.should == "\xC2"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ffi-msgpack-0.2.1 spec/extensions/false_class_spec.rb
ffi-msgpack-0.2.0 spec/extensions/false_class_spec.rb
ffi-msgpack-0.1.4 spec/extensions/false_class_spec.rb
ffi-msgpack-0.1.3 spec/extensions/false_class_spec.rb