Fix case where a theme slug is all non-latin characters
This commit is contained in:
@@ -7,7 +7,8 @@ describe '#classify_slug' do
|
||||
'12-slug' => :D_12Slug,
|
||||
'slug.s' => :SlugS,
|
||||
'slug yolo $' => :SlugYolo,
|
||||
'slug $ ab.cd/12' => :SlugAbCd12
|
||||
'slug $ ab.cd/12' => :SlugAbCd12,
|
||||
'カスタムテーマ' => :HexSlug_e382abe382b9e382bfe383a0e38386e383bce3839e
|
||||
}.each do |slug, expected_symbol|
|
||||
context "when #{slug}" do
|
||||
it "returns #{expected_symbol}" do
|
||||
|
||||
Reference in New Issue
Block a user