Sha256: 9fbb5407e50fe4c3d5b44e551d9f7ed520fb9e94ca8b43b185ef289d71c3cca5
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
describe WannabeBool::Boolean do context TrueClass do subject { true } describe '#to_b' do it { expect(subject.to_b).to be true } end end context FalseClass do subject { false } 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/boolean_spec.rb |
wannabe_bool-0.4.0 | spec/wannabe_bool/boolean_spec.rb |