Sha256: 487207191badd32c4cd91ff1c41fb780c9700df9c660cc4abfd2ed6cd18f8ec5
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' using Itaiji::Conversions describe Itaiji::Conversions do let(:itaiji) { '齊藤正澔' } let(:seijitai) { '斉藤正浩' } let(:converter) { Itaiji::Converter.new } describe '#to_seijitai' do it 'converts name from itaiji to seijitai' do expect(itaiji.to_seijitai).to eq seijitai end end describe '#convert_itaiji' do it 'converts name from seijitai to itaiji' do expect(seijitai.to_itaiji).to eq itaiji end end end
Version data entries
3 entries across 3 versions & 1 rubygems