Sha256: 856ebbeb8fca3d7ec59b3fce17aa5613611ed496fdb4001652575cbe5e00e0a8

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 be false }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wannabe_bool-0.5.0 spec/wannabe_bool/nil_spec.rb
wannabe_bool-0.4.0 spec/wannabe_bool/nil_spec.rb