Sha256: 3f74bfd059652bed755bb797370d94117d21da560085fb76306c795fe6aaa32a
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe Space2dot do it 'returns dot included in string' do expect(Space2dot.convert(['fuga hoge foo'])).to include('.') # String case expect(Space2dot.convert(%w(fuga hoge foo))).to include('.') # Array case end it 'returns dot included in string in beginning of line' do expect(Space2dot.convert(['fuga hoge foo'])[0]).to eq('.') expect(Space2dot.convert(%w(fuga hoge foo))[0]).to eq('.') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2dot-0.1.3 | spec/space2dot_spec.rb |