Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
		@@ -1,6 +1,8 @@
 | 
			
		||||
require 'rails_helper'
 | 
			
		||||
 | 
			
		||||
RSpec.describe ActivityPub::FetchRepliesService, type: :service do
 | 
			
		||||
  subject { described_class.new }
 | 
			
		||||
 | 
			
		||||
  let(:actor)          { Fabricate(:account, domain: 'example.com', uri: 'http://example.com/account') }
 | 
			
		||||
  let(:status)         { Fabricate(:status, account: actor) }
 | 
			
		||||
  let(:collection_uri) { 'http://example.com/replies/1' }
 | 
			
		||||
@@ -28,8 +30,6 @@ RSpec.describe ActivityPub::FetchRepliesService, type: :service do
 | 
			
		||||
    }.with_indifferent_access
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  subject { described_class.new }
 | 
			
		||||
 | 
			
		||||
  describe '#call' do
 | 
			
		||||
    context 'when the payload is a Collection with inlined replies' do
 | 
			
		||||
      context 'when passing the collection itself' do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user