diff --git a/spec/helpers/localization_helper_spec.rb b/spec/helpers/localization_helper_spec.rb index 3baace95c6..c1d8d8bade 100644 --- a/spec/helpers/localization_helper_spec.rb +++ b/spec/helpers/localization_helper_spec.rb @@ -8,8 +8,7 @@ choices = [ ["English", "en"], ["Nederlands (Dutch)", "nl"], - ["Norsk Bokmål (Norwegian Bokmål)", "nb"], - ["Español (Spanish)", "es"] + ["Norwegian (Bokmål)", "nb"] ] expect(language_choices).to eq(choices) end @@ -22,8 +21,7 @@ choices = [ ["English (Engels)", "en"], ["Nederlands", "nl"], - ["Norsk Bokmål (Noors)", "nb"], - ["Español (Spaans)", "es"] + ["Noors (Bokmål)", "nb"] ] expect(language_choices).to eq(choices) end @@ -34,28 +32,13 @@ it "returns with norwegian included" do I18n.with_locale(:nb) do choices = [ - ["English (Engelsk)", "en"], - ["Nederlands (Nederlandsk)", "nl"], - ["Norsk Bokmål", "nb"], - ["Español (Spansk)", "es"] - ] - expect(language_choices).to eq(choices) - end - end - end - - context "in Spanish" do - it "returns with spanish included" do - I18n.with_locale(:es) do - choices = [ - ["English (Inglés)", "en"], - ["Nederlands (Holandés)", "nl"], - ["Norsk Bokmål (Noruego)", "nb"], - ["Español", "es"] + ["Engelsk", "en"], + ["Nederlands (nederlandsk)", "nl"], + ["norsk (bokmål)", "nb"] ] expect(language_choices).to eq(choices) end end end end -end +end \ No newline at end of file