Fix RSpec/LetSetup
cop in spec/services (#28459)
This commit is contained in:
parent
efd16f3c2c
commit
9251779d75
14 changed files with 74 additions and 87 deletions
|
@ -39,9 +39,9 @@ RSpec.describe UnsuspendAccountService, type: :service do
|
|||
let!(:account) { Fabricate(:account) }
|
||||
let!(:remote_follower) { Fabricate(:account, uri: 'https://alice.com', inbox_url: 'https://alice.com/inbox', protocol: :activitypub, domain: 'alice.com') }
|
||||
let!(:remote_reporter) { Fabricate(:account, uri: 'https://bob.com', inbox_url: 'https://bob.com/inbox', protocol: :activitypub, domain: 'bob.com') }
|
||||
let!(:report) { Fabricate(:report, account: remote_reporter, target_account: account) }
|
||||
|
||||
before do
|
||||
Fabricate(:report, account: remote_reporter, target_account: account)
|
||||
remote_follower.follow!(account)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue