Remove render_template from accounts request spec (#33519)
				
					
				
			This commit is contained in:
		
							parent
							
								
									4148b68430
								
							
						
					
					
						commit
						cbae00ad23
					
				@ -53,8 +53,9 @@ RSpec.describe 'Accounts show response' do
 | 
				
			|||||||
          it 'returns a standard HTML response', :aggregate_failures do
 | 
					          it 'returns a standard HTML response', :aggregate_failures do
 | 
				
			||||||
            expect(response)
 | 
					            expect(response)
 | 
				
			||||||
              .to have_http_status(200)
 | 
					              .to have_http_status(200)
 | 
				
			||||||
              .and render_template(:show)
 | 
					 | 
				
			||||||
              .and have_http_link_header(ActivityPub::TagManager.instance.uri_for(account)).for(rel: 'alternate')
 | 
					              .and have_http_link_header(ActivityPub::TagManager.instance.uri_for(account)).for(rel: 'alternate')
 | 
				
			||||||
 | 
					            expect(response.parsed_body.at('title').content)
 | 
				
			||||||
 | 
					              .to include(account.username)
 | 
				
			||||||
          end
 | 
					          end
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user