mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 21:15:05 +01:00
Test the native_locale_name of a non-standard locale (#20284)
`:en` is English for both `standard_locale_name` and `native_locale_name`, and so makes for a poor test candidate for differentiating between them.
This commit is contained in:
parent
302a58c22b
commit
d4f973227c
@ -11,7 +11,7 @@ describe LanguagesHelper do
|
|||||||
|
|
||||||
describe 'native_locale_name' do
|
describe 'native_locale_name' do
|
||||||
it 'finds the human readable native name from a key' do
|
it 'finds the human readable native name from a key' do
|
||||||
expect(helper.native_locale_name(:en)).to eq('English')
|
expect(helper.native_locale_name(:de)).to eq('Deutsch')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user