spec/romaji_spec.rb in romaji-0.1.0 vs spec/romaji_spec.rb in romaji-0.1.1
- old
+ new
@@ -23,9 +23,10 @@
Romaji.kana2romaji('キョウモシナイトネ').should == 'kyoumoshinaitone'
Romaji.kana2romaji('すしのたべたさ').should == 'sushinotabetasa'
Romaji.kana2romaji('シンバシ').should == 'shimbashi'
Romaji.kana2romaji('キンカクジ').should == 'kinkakuji'
Romaji.kana2romaji('トットリ').should == 'tottori'
+ Romaji.kana2romaji('菜っ葉').should == '菜xtsu葉'
end
shared_examples_for 'String extension' do
it 'should extend String#normalize' do
@kana.normalize.should == 'スシ'