Fix RSpec/SubjectDeclaration
cop (#25312)
This commit is contained in:
parent
f134a5f9d8
commit
c75df62ccc
21 changed files with 45 additions and 51 deletions
|
@ -20,7 +20,9 @@ RSpec.describe Account do
|
|||
end
|
||||
|
||||
context 'when the account is of a local user' do
|
||||
let!(:subject) { Fabricate(:user, email: 'foo+bar@domain.org').account }
|
||||
subject { local_user_account }
|
||||
|
||||
let!(:local_user_account) { Fabricate(:user, email: 'foo+bar@domain.org').account }
|
||||
|
||||
it 'creates a canonical domain block' do
|
||||
subject.suspend!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue