spec/romaji_spec.rb in romaji-0.1.2 vs spec/romaji_spec.rb in romaji-0.1.3
- old
+ new
@@ -24,9 +24,12 @@
Romaji.kana2romaji('すしのたべたさ').should == 'sushinotabetasa'
Romaji.kana2romaji('シンバシ').should == 'shimbashi'
Romaji.kana2romaji('キンカクジ').should == 'kinkakuji'
Romaji.kana2romaji('トットリ').should == 'tottori'
Romaji.kana2romaji('菜っ葉').should == '菜xtsu葉'
+ Romaji.kana2romaji('ゔ').should == 'vu'
+ Romaji.kana2romaji('ウィリアム').should == 'wiriamu'
+ Romaji.kana2romaji('デューク').should == 'dhu-ku'
end
shared_examples_for 'String extension' do
it 'should extend String#normalize' do
@kana.normalize.should == 'スシ'