lean on Inflector transliteration

This commit is contained in:
Dan Neumann
2013-02-11 20:34:38 -06:00
parent ecbaa45736
commit 9daf53df73
2 changed files with 10 additions and 7 deletions

View File

@ -35,5 +35,11 @@ describe Slug do
Slug.for("...hello").should == "hello"
end
it 'handles our initial transliteration' do
from = "àáäâčďèéëěêìíïîľĺňòóöôŕřšťůùúüûýžñç"
to = "aaaacdeeeeeiiiillnoooorrstuuuuuyznc"
Slug.for(from).should == to
end
end