| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -48,7 +48,7 @@ RSpec.describe ActivityPub::Activity::Add do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        end
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        it 'fetches the status and pins it' do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          allow(service_stub).to receive(:call) do |uri, id: true, on_behalf_of: nil, request_id: nil|
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          allow(service_stub).to receive(:call) do |uri, id: true, on_behalf_of: nil, request_id: nil| # rubocop:disable Lint/UnusedBlockArgument
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(uri).to eq 'https://example.com/unknown'
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(id).to eq true
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(on_behalf_of&.following?(sender)).to eq true
 | 
			
		
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
			
			 | 
			 | 
			
				@ -62,7 +62,7 @@ RSpec.describe ActivityPub::Activity::Add do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				      context 'when there is no local follower' do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        it 'tries to fetch the status' do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          allow(service_stub).to receive(:call) do |uri, id: true, on_behalf_of: nil, request_id: nil|
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          allow(service_stub).to receive(:call) do |uri, id: true, on_behalf_of: nil, request_id: nil| # rubocop:disable Lint/UnusedBlockArgument
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(uri).to eq 'https://example.com/unknown'
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(id).to eq true
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            expect(on_behalf_of).to eq nil
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |