Skip to content
Snippets Groups Projects
Commit c8f987fe authored by Eduardo Machado's avatar Eduardo Machado
Browse files

like tests changed to put

parent c5353cb1
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ resource 'Collections' do
end
post '/v1/collections/:id/like' do
put '/v1/collections/:id/like' do
include_context "authenticate_user"
let(:id) { collections.first.id }
......@@ -138,7 +138,7 @@ resource 'Collections' do
end
end
delete '/v1/collections/:id/like' do
put '/v1/collections/:id/like' do
include_context "authenticate_user"
let(:id) { collections.first.id }
......
......@@ -102,7 +102,7 @@ resource 'Learning Objects' do
end
end
post '/v1/learning_objects/:id/like' do
put '/v1/learning_objects/:id/like' do
include_context "authenticate_user"
let(:id) { learning_objects.first.id }
......@@ -116,7 +116,7 @@ resource 'Learning Objects' do
end
end
delete '/v1/learning_objects/:id/like' do
put '/v1/learning_objects/:id/like' do
include_context "authenticate_user"
let(:id) { learning_objects.first.id }
......@@ -167,7 +167,7 @@ resource 'Learning Objects' do
end
end
delete '/v1/learning_objects/:id' do
include_context "authenticate_user"
......
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