Sha256: f9aa6cb26d99404641570526ff6f63928e535458777c246154c382eed19dd00e
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 Bytes
Contents
require 'spec_helper' describe Phonetic::Algorithm do describe '.encode_word' do it 'should return not modified word' do Phonetic::Algorithm.encode_word('cat').should == 'cat' end end describe '.encode' do it 'should return list of words without extra spaces' do Phonetic::Algorithm.encode(' cat dog ').should == 'cat dog' end end end
Version data entries
4 entries across 4 versions & 1 rubygems