Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2023-12-28 16:57:10 +01:00
200 changed files with 3688 additions and 1130 deletions

View File

@@ -294,12 +294,6 @@ describe ApplicationHelper do
end
describe 'title' do
around do |example|
site_title = Setting.site_title
example.run
Setting.site_title = site_title
end
it 'returns site title on production environment' do
Setting.site_title = 'site title'
allow(Rails.env).to receive(:production?).and_return(true)
@@ -320,12 +314,6 @@ describe ApplicationHelper do
allow(Rails.env).to receive(:production?).and_return(true)
end
around do |example|
site_title = Setting.site_title
example.run
Setting.site_title = site_title
end
context 'with a page_title content_for value' do
it 'uses the value in the html title' do
Setting.site_title = 'Site Title'