Skip to content

Commit

Permalink
Corrijo fallo título, HU06 #42 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mariasanzs committed Dec 12, 2020
1 parent 50e8e5c commit 20b0344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/testMyapp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ def app
expect(last_response).to be_ok
end

it 'añadir cesta error no existe producto' do
it 'Quitar cesta error no existe producto' do
delete '/quitarCesta/noexisto'
respuesta = {:status => 'Error: Este producto no está en el catálogo'}.to_json
expect(last_response.body).to eq (respuesta)
expect(last_response.content_type).to eq ('application/json')
expect(last_response.status).to eq (400)
end

it 'añadir cesta error no está en la cesta' do
it 'Quitar cesta error no está en la cesta' do
delete '/quitarCesta/prueba'
respuesta = {:status => 'Error: Este producto no está en tu cesta'}.to_json
expect(last_response.body).to eq (respuesta)
Expand Down

1 comment on commit 20b0344

@vercel
Copy link

@vercel vercel bot commented on 20b0344 Dec 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.