Sha256: a864453d78d75ec666c04d3b1d9fad89a8119a3f21247ae1c3df7e4689e509b2
Contents?: true
Size: 546 Bytes
Versions: 21
Compression:
Stored size: 546 Bytes
Contents
# encoding: utf-8 # require 'spec_helper' describe Picky::Generators::Similarity::Soundex do before(:each) do @similarity = described_class.new end describe 'default amount' do it 'is correct' do @similarity.amount.should == 3 end end def self.it_should_encode text, expected it "should encode #{text.inspect} correctly" do @similarity.encode(text).should == expected end end it_should_encode :meier, :M600 it_should_encode :grossberger, :G621 it_should_encode :hadelbla, :H341 end
Version data entries
21 entries across 21 versions & 1 rubygems