0
0
Fork 0

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
parent 30b5254a5d
commit 70592cdaba
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