Only remove default locale which is the only column we touch

see: https://meta.discourse.org/t/failing-tests-in-discourse-dev-due-to-multisite/68720/5
This commit is contained in:
Sam 2017-08-29 14:02:24 -04:00
parent c705159d22
commit 04e3526096

View File

@ -12,7 +12,7 @@ RSpec.describe 'Multisite SiteSettings' do
after do
['default', 'second'].each do |db|
conn.with_connection(db) { SiteSetting.destroy_all }
conn.with_connection(db) { SiteSetting.where(name: 'default_locale').destroy_all }
end
conn.clear_settings!