Sha256: 0594553c337ac6ea55fcfdb6b813db007f0bac0218323e5ee842d0b706e99668

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

require 'phonetic'

describe String do
  describe '#dm_soundex' do
    it 'should return D-M Soundex code of string' do
      'Syjuco'.dm_soundex.should == ['450000', '445000', '440000', '444000']
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phonetic-1.2.0 spec/phonetic/core_ext/string/dm_soundex_spec.rb
phonetic-1.1.0 spec/phonetic/core_ext/string/dm_soundex_spec.rb