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

add index rspec test to suggestions

parent e1893704
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,13 @@ resource 'Suggestions' do
let(:suggestions) { Suggestion.all }
get '/v1/suggestions' do
example_request 'Getting all suggestions' do
expect(status).to eq(200)
end
end
get '/v1/suggestions/:id' do
let(:id) { suggestions.first.id }
......
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