Skip to content
Snippets Groups Projects
Commit 07968f0b authored by Giovanne Marcelo's avatar Giovanne Marcelo
Browse files

add destroy language test

parent 5100aea9
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,19 @@ resource 'Languages' do
do_request
expect(status).to eq(201)
end
end
delete '/v1/languages/:id' do
include_context "authenticate_user"
parameter :id, 'The id of the language'
let(:id) { languages.first.id }
example 'Destroying a language' do
do_request
expect(status).to eq(200)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment