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
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