Fix broken specs.

This commit is contained in:
Guo Xiang Tan
2017-07-11 13:16:48 +09:00
parent b605d5d61b
commit 45f4ce379e
2 changed files with 4 additions and 2 deletions

View File

@ -176,7 +176,7 @@ describe I18n::Backend::DiscourseI18n do
expect(I18n.with_locale(:ru) { I18n.translate('got', default: '') }).to eq('summer')
end
it 'supports ActiveModel::Naming#human' do
it 'does not affect ActiveModel::Naming#human' do
Fish = Class.new(ActiveRecord::Base)
TranslationOverride.upsert!('en', 'fish', "fake fish")