diff options
author | HombreLaser <sebastian-440@live.com> | 2023-04-06 11:48:20 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-04-06 11:48:20 -0600 |
commit | 4e3d24a5c68e3ab951fe0cf388bdc2ea1fdc050e (patch) | |
tree | 3a960e4f3940bffc9306a0660648e2d714cd9bea /spec/support/shared_examples/requests | |
parent | ef0bd5e3ebd3822eca1aa12fb9e347ad397a295b (diff) |
Cambiar respuesta 303 de un delete por 204
Diffstat (limited to 'spec/support/shared_examples/requests')
-rw-r--r-- | spec/support/shared_examples/requests/delete_request.rb | 2 |
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 |