Add a /api/v1/mutes/details route that just returns the array of mutes.
This commit is contained in:
parent
30b5254a5d
commit
70592cdaba
3 changed files with 33 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue