0
0
Fork 0

Add coverage for api/v1 controllers (#3155)

This commit is contained in:
Matt Jankowski 2017-05-19 17:32:37 -04:00 committed by Eugen Rochko
parent f8ee136c29
commit b6f6152e26
5 changed files with 113 additions and 0 deletions

View file

@ -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