test/ofac_test.rb in kevintyll-ofac-1.1.3 vs test/ofac_test.rb in kevintyll-ofac-1.1.4
- old
+ new
@@ -13,10 +13,10 @@
assert_equal 0, Ofac.new({:name => ''}).score
assert_equal 0, Ofac.new({:name => ' '}).score
end
should "give a score of 0 if there is no name match" do
- assert_equal 0, Ofac.new({:name => 'Kevin'}).score
+ assert_equal 0, Ofac.new({:name => 'Kevin T P'}).score
end
should "give a score of 0 if there is no name match but there is an address and city match" do
assert_equal 0, Ofac.new({:name => 'Kevin', :address => '123 somewhere ln', :city => 'Clearwater'}).score
end