0
0
Fork 0

Fixed the lookup API method

This commit is contained in:
Eugen Rochko 2016-03-21 17:33:04 +01:00
parent 5b10329394
commit c28971c70c
2 changed files with 6 additions and 3 deletions

View file

@ -10,9 +10,9 @@ RSpec.describe Api::Accounts::LookupController, type: :controller do
describe 'GET #index' do
before do
Fabricate(:account, username: 'alice')
Fabricate(:account, username: 'bob')
get :index, usernames: 'alice,bob'
Fabricate(:account, username: 'mcbeth')
get :index, usernames: 'alice,bob,mcbeth'
end
it 'returns http success' do