spec/fonemas/fonema_spec.rb in fonemas-0.0.9 vs spec/fonemas/fonema_spec.rb in fonemas-0.0.10
- old
+ new
@@ -3,9 +3,11 @@
describe Fonemas do
it 'test acentos' do
Fonemas.fonemas('hasta')[0].should eql("aa s t a")
Fonemas.fonemas('torta')[0].should eql("t oo r t a")
Fonemas.fonemas('ungüento')[0].should eql("u n g u ee n t o")
+ Fonemas.fonemas('abuela').should include('a g u ee l a')
+
for i in Fonemas.fonemas('adskribir')
i.should end_with('ii r')
end
end
\ No newline at end of file