Sha256: 5af786e1458122632da04f5f1144aad0e988ef5548af8b9edaca568daea767a1

Contents?: true

Size: 160 Bytes

Versions: 2

Compression:

Stored size: 160 Bytes

Contents

describe WannabeBool::Nil do
  context NilClass do
    subject { nil }

    describe '#to_b' do
      it { expect(subject.to_b).to eq false }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wannabe_bool-0.3.0 spec/wannabe_bool/nil_spec.rb
wannabe_bool-0.2.0 spec/wannabe_bool/nil_spec.rb