Merge commit 'ffeb5da9912a3b7db0deb8aec429e661ef609c59' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-08-05 15:46:33 +02:00
68 changed files with 192 additions and 24 deletions

View File

@@ -226,16 +226,16 @@ RSpec.describe ApplicationController do
it_behaves_like 'error response', 410
end
describe 'unprocessable_entity' do
describe 'unprocessable_content' do
controller do
def route_unprocessable_entity
unprocessable_entity
def route_unprocessable_content
unprocessable_content
end
end
subject do
routes.draw { get 'route_unprocessable_entity' => 'anonymous#route_unprocessable_entity' }
get 'route_unprocessable_entity'
routes.draw { get 'route_unprocessable_content' => 'anonymous#route_unprocessable_content' }
get 'route_unprocessable_content'
end
it_behaves_like 'error response', 422