Remove unneeded settings cleanup from specs (#28425)
This commit is contained in:
parent
c7c727994a
commit
6fed0fcbaa
15 changed files with 8 additions and 189 deletions
|
@ -4,12 +4,6 @@ require 'rails_helper'
|
|||
|
||||
describe InstanceHelper do
|
||||
describe 'site_title' do
|
||||
around do |example|
|
||||
site_title = Setting.site_title
|
||||
example.run
|
||||
Setting.site_title = site_title
|
||||
end
|
||||
|
||||
it 'Uses the Setting.site_title value when it exists' do
|
||||
Setting.site_title = 'New site title'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue