Skip to content

Commit

Permalink
Spec #sanitize_available_locales on es-419
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Dec 20, 2013
1 parent e298593 commit d2c764f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/parser_spec.rb
Expand Up @@ -45,7 +45,7 @@ def parser
end end


it "should sanitize available language names" do it "should sanitize available language names" do
parser.sanitize_available_locales(%w{en_UK-x3 en-US-x1 ja_JP-x2 pt-BR-x5}).should eq ["en-UK", "en-US", "ja-JP", "pt-BR"] parser.sanitize_available_locales(%w{en_UK-x3 en-US-x1 ja_JP-x2 pt-BR-x5 es-419-x4}).should eq ["en-UK", "en-US", "ja-JP", "pt-BR", "es-419"]
end end


it "should find most compatible language from user preferred" do it "should find most compatible language from user preferred" do
Expand Down

0 comments on commit d2c764f

Please sign in to comment.