Sha256: d40a2b0198eddc08dcabd2b09cfce1d94087ff4a8bd417e9fd75bb7d0e354084
Contents?: true
Size: 255 Bytes
Versions: 11
Compression:
Stored size: 255 Bytes
Contents
require 'spec_helper' describe Monolens, 'coerce.string' do subject do Monolens.lens('coerce.string') end it 'works' do expect(subject.call(12)).to eql('12') end it 'accepts null' do expect(subject.call(nil)).to eql('') end end
Version data entries
11 entries across 11 versions & 1 rubygems