Sha256: 23bc2b353171cb5c3be0ffe1559a6310a9629a065510552b985a86f7933f1a3e
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
# coding: utf-8 require "spec_helper" describe Tataki::Converter::Alphabet do let(:converter) { Tataki::Converter::Alphabet.new } describe ".to_kana" do shared_examples "converts_kana" do |sentence, kana| it "converts #{sentence.inspect} to #{kana.inspect}" do expect(converter.to_kana(sentence)).to eq(kana) end end include_examples "converts_kana", "", "" include_examples "converts_kana", "hoge!", "えいちおーじーいー!" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tataki-0.0.4 | spec/tataki/converters/alphabet_spec.rb |
tataki-0.0.3 | spec/tataki/converters/alphabet_spec.rb |
tataki-0.0.2 | spec/tataki/converters/alphabet_spec.rb |