1
0
Fork 0
forked from gitea/nas

Fix RSpec/ScatteredSetup cop (#24848)

This commit is contained in:
Matt Jankowski 2023-05-11 04:32:09 -04:00 committed by GitHub
parent 9cbda99941
commit a610a02d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 23 deletions

View file

@ -14,9 +14,7 @@ RSpec.describe ActivityPub::FollowersSynchronizationsController do
follower_2.follow!(account)
follower_3.follow!(account)
follower_4.follow!(account)
end
before do
allow(controller).to receive(:signed_request_actor).and_return(remote_account)
end