Add a /api/v1/mutes/details route that just returns the array of mutes.

This commit is contained in:
Surinna Curtis
2017-09-02 12:24:58 -05:00
committed by aschmitz
parent 1fc0382d29
commit a81d3a2842
3 changed files with 33 additions and 8 deletions

View File

@@ -18,4 +18,12 @@ RSpec.describe Api::V1::MutesController, type: :controller do
expect(response).to have_http_status(:success)
end
end
describe 'GET #details' do
it 'returns http success' do
get :details, params: { limit: 1 }
expect(response).to have_http_status(:success)
end
end
end