Add coverage for api/v1 controllers (#3155)
This commit is contained in:
parent
f8ee136c29
commit
b6f6152e26
5 changed files with 113 additions and 0 deletions
|
@ -17,6 +17,14 @@ RSpec.describe Api::V1::AccountsController, type: :controller do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'GET #search' do
|
||||
it 'returns http success' do
|
||||
get :search, params: { q: 'query' }
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'GET #verify_credentials' do
|
||||
it 'returns http success' do
|
||||
get :verify_credentials
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue