spec/tataki_spec.rb in tataki-0.0.3 vs spec/tataki_spec.rb in tataki-0.0.4
- old
+ new
@@ -7,18 +7,19 @@
end
describe ".converters" do
it "returns converters" do
expect(Tataki.converters).to match_array([
- Tataki::Converter::Roman,
Tataki::Converter::Alphabet,
Tataki::Converter::Combine,
Tataki::Converter::SkkJisyo,
])
end
end
describe "String.to_kana" do
+ before { require "tataki" }
+
it "converts to kana" do
expect("X線研究者".to_kana).to eq("えっくすせんけんきゅうしゃ")
end
end
end