spec/lib/namor_spec.rb in namor-0.4.1 vs spec/lib/namor_spec.rb in namor-0.4.2

- old
+ new

@@ -76,9 +76,10 @@ @namor.extract("john.smith").should == ['JOHN', nil, 'SMITH', 'SMITH,JOHN', 'SMITH,JOHN'] end it "should generate estimated maiden names" do @namor.extract("Jones-De Quento, Maria").should == ['MARIA', nil, 'JONESDEQUENTO', 'JONESDEQUENTO,MARIA', 'DEQUENTO,MARIA'] + @namor.extract_with_cluster("Jones-De Quento, Maria").should == ['MARIA', nil, 'JONESDEQUENTO', 'JONESDEQUENTO,MARIA', 'DEQUENTO,MARIA', 'JONESDEQUENTO_MARIA'] end end describe "with cluster coding" do before(:all) do