mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Use response.parsed_body for html response checks (#31750)
This commit is contained in:
@@ -48,7 +48,7 @@ RSpec.describe Admin::AccountsController do
|
||||
end
|
||||
|
||||
def accounts_table_rows
|
||||
Nokogiri::Slop(response.body).css('table.accounts-table tr')
|
||||
response.parsed_body.css('table.accounts-table tr')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user