2
0

Remove unneeded settings cleanup from specs (#28425)

This commit is contained in:
Claire
2023-12-19 16:17:22 +01:00
committed by GitHub
parent c7c727994a
commit 6fed0fcbaa
15 changed files with 8 additions and 189 deletions

View File

@@ -4,12 +4,6 @@ require 'rails_helper'
RSpec.describe 'Domain Blocks' do
describe 'GET /api/v1/instance/domain_blocks' do
around do |example|
original = Setting.show_domain_blocks
example.run
Setting.show_domain_blocks = original
end
before do
Fabricate(:domain_block)
end