about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:33:04 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:33:04 +0100
commitc28971c70c3d5caf18a5e931ff345534f1e4cece (patch)
tree58e0e8772bc4a52490e75e20284269c0ed4f43a3 /spec/controllers
parent5b10329394ae2ad76bcf1e613edd6e7d4b82b210 (diff)
Fixed the lookup API method
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/api/accounts/lookup_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/api/accounts/lookup_controller_spec.rb b/spec/controllers/api/accounts/lookup_controller_spec.rb
index 30dee8a3d..46c904b5a 100644
--- a/spec/controllers/api/accounts/lookup_controller_spec.rb
+++ b/spec/controllers/api/accounts/lookup_controller_spec.rb
@@ -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