Sha256: 81ca6213c818f52aed643a871260096936e4aaad9bc1b4d985265ee685217756
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
# encoding: utf-8 describe WannabeBool::Boolean do context TrueClass do subject { true } describe '#to_b' do it { expect(subject.to_b).to eq true } end end context FalseClass do subject { false } 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.1.1 | spec/wannabe_bool/boolean_spec.rb |
wannabe_bool-0.1.0 | spec/wannabe_bool/boolean_spec.rb |