diff options
Diffstat (limited to 'spec/controllers/api/v1/accounts_controller_spec.rb')
-rw-r--r-- | spec/controllers/api/v1/accounts_controller_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/controllers/api/v1/accounts_controller_spec.rb b/spec/controllers/api/v1/accounts_controller_spec.rb index d69d9c4c2..041b279f7 100644 --- a/spec/controllers/api/v1/accounts_controller_spec.rb +++ b/spec/controllers/api/v1/accounts_controller_spec.rb @@ -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 |