Sha256: 70de7d9fa564b4a5495ecbc40e6461f6d074e7b64f02999941be3db2c813d499
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
#encoding: utf-8 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itaiji-0.1.5 | spec/lib/itaiji/core_ext/string/conversions_spec.rb |