summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared_examples/requests/delete_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/requests/delete_request.rb b/spec/support/shared_examples/requests/delete_request.rb
index caeaae0..95d516e 100644
--- a/spec/support/shared_examples/requests/delete_request.rb
+++ b/spec/support/shared_examples/requests/delete_request.rb
@@ -4,7 +4,7 @@ RSpec.shared_examples 'a DELETE request' do
context 'for an existing resource' do
it 'deletes the resource' do
delete(resource, headers:)
- expect(response).to have_http_status(303)
+ expect(response).to have_http_status(204)
end
end