chore: Add articles metadata (#5125)

This commit is contained in:
Tejaswini Chile
2022-07-28 13:59:16 +05:30
committed by GitHub
parent 7f48cffeb3
commit 41df70fb96
19 changed files with 74 additions and 15 deletions

View File

@@ -24,6 +24,7 @@ RSpec.describe Portal, type: :model do
it 'Adds default allowed_locales en' do
expect(portal.config).to be_present
expect(portal.config['allowed_locales']).to eq(['en'])
expect(portal.config['default_locale']).to eq('en')
end
it 'Does not allow any other config than allowed_locales' do