Clean up of RSpec/LetSetup
within spec/services/activitypub
(#28445)
This commit is contained in:
parent
c99f88e1a8
commit
efd16f3c2c
5 changed files with 10 additions and 7 deletions
|
@ -33,7 +33,7 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
|
|||
end
|
||||
|
||||
context 'when account is not suspended' do
|
||||
subject { described_class.new.call('alice', 'example.com', payload) }
|
||||
subject { described_class.new.call(account.username, account.domain, payload) }
|
||||
|
||||
let!(:account) { Fabricate(:account, username: 'alice', domain: 'example.com') }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue