Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing languages specs

  • Loading branch information...
commit c33cb9bd0fd60b99c2cbd4592beba015d4dbee15 1 parent 22865b9
@camertron camertron authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/shared/languages_spec.rb
View
6 spec/shared/languages_spec.rb
@@ -21,14 +21,14 @@
Languages.translate_language("RUSSIAN", :en, :es).should match_normalized("ruso")
end
- it "defaults the destination language to English (or whatever FastGettext.locale is)" do
+ it "defaults the destination language to English (or whatever the global locale is)" do
Languages.translate_language("Ruso", :es).should match_normalized("Russian")
Languages.translate_language("русский", :ru).should match_normalized("Russian")
end
it "defaults source and destination language to English if not given" do
Languages.translate_language("Russian").should match_normalized("Russian")
- FastGettext.locale = :es
+ TwitterCldr.locale = :es
Languages.translate_language("Russian").should match_normalized("ruso")
end
@@ -53,7 +53,7 @@
it "should return the language in the default locale for the given locale code" do
Languages.from_code(:es).should match_normalized("Spanish")
Languages.from_code(:ru).should match_normalized("Russian")
- FastGettext.locale = :es
+ TwitterCldr.locale = :es
Languages.from_code(:es).should match_normalized("español")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.