Fix RSpec/SubjectDeclaration
cop (#25312)
This commit is contained in:
parent
f134a5f9d8
commit
c75df62ccc
21 changed files with 45 additions and 51 deletions
|
@ -166,10 +166,11 @@ RSpec.describe Admin::DomainBlocksController do
|
|||
end
|
||||
|
||||
describe 'PUT #update' do
|
||||
let!(:remote_account) { Fabricate(:account, domain: 'example.com') }
|
||||
let(:subject) do
|
||||
subject do
|
||||
post :update, params: { :id => domain_block.id, :domain_block => { domain: 'example.com', severity: new_severity }, 'confirm' => '' }
|
||||
end
|
||||
|
||||
let!(:remote_account) { Fabricate(:account, domain: 'example.com') }
|
||||
let(:domain_block) { Fabricate(:domain_block, domain: 'example.com', severity: original_severity) }
|
||||
|
||||
before do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue