spec/fonemas/fonema_spec.rb in fonemas-0.2.2 vs spec/fonemas/fonema_spec.rb in fonemas-0.2.3
- old
+ new
@@ -55,10 +55,12 @@
it 'soporta mayúsculas acentuadas' do
Fonemas.fonemas('África').should include('aa f r i k a')
end
it 'palabras deletreadas' do
+ Fonemas.fonemas('_a_b_c').should be_a_kind_of(Array)
Fonemas.fonemas('_a_b_c').should include('aa bb ee s ee')
+ Fonemas.fonemas('_a').should include('aa')
end
it 'test diptongos' do
Fonemas.isDiptongo("buitre",1,2).should be(true)
end
\ No newline at end of file