spec/lib/generators/similarity/soundex_spec.rb in picky-4.0.0pre6 vs spec/lib/generators/similarity/soundex_spec.rb in picky-4.0.0
- old
+ new
@@ -8,10 +8,10 @@
@similarity = described_class.new
end
def self.it_should_encode text, expected
it "should encode #{text.inspect} correctly" do
- @similarity.encoded(text).should == expected
+ @similarity.encode(text).should == expected
end
end
# def self.it_should_generate_from index, expected
# it "should generate #{expected.inspect} correctly from #{index.inspect}" do
# @similarity.generate_from(index).should == expected
\ No newline at end of file