0
0
Fork 0

Remove unused before block from settings/branding spec (#27759)

This commit is contained in:
Matt Jankowski 2023-11-07 10:19:17 -05:00 committed by GitHub
parent f476d9dab2
commit dc0bf87090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -19,10 +19,6 @@ RSpec.describe Admin::Settings::BrandingController do
end
describe 'PUT #update' do
before do
allow_any_instance_of(Form::AdminSettings).to receive(:valid?).and_return(true)
end
around do |example|
before = Setting.site_short_description
Setting.site_short_description = nil