Sha256: 5b1cc72136c1e315d465377e6d0e82fc8ed92be3f9612c302a685937e7d5c47d
Contents?: true
Size: 254 Bytes
Versions: 2
Compression:
Stored size: 254 Bytes
Contents
require_relative '../spec_helper' describe 'Predicates' do it 'should allow regex matching' do expect(sequence('Stacy').find(matches?(/Stac/))).to eq(some('Stacy')) expect(sequence('Raymond').find(matches?(/NotAwesome/))).to eq(none) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
totally_lazy-0.1.43 | spec/totally_lazy/predicates_spec.rb |
totally_lazy-0.1.42 | spec/totally_lazy/predicates_spec.rb |