0
0
Fork 0

Clean up of RSpec/LetSetup within spec/services/activitypub (#28445)

This commit is contained in:
Matt Jankowski 2023-12-21 06:20:12 -05:00 committed by GitHub
parent c99f88e1a8
commit efd16f3c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 7 deletions

View file

@ -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') }