From 9387beb3b381e3f164eb538f178d9b543b7fcf40 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 3 Nov 2022 23:12:08 +0100 Subject: [PATCH] Change flaky AccountSearchService test (#19650) --- spec/services/account_search_service_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/services/account_search_service_spec.rb b/spec/services/account_search_service_spec.rb index 5b7182586c5..81cbc175e5c 100644 --- a/spec/services/account_search_service_spec.rb +++ b/spec/services/account_search_service_spec.rb @@ -45,7 +45,6 @@ describe AccountSearchService, type: :service do results = subject.call('e@example.com', nil, limit: 2) - expect(results.size).to eq 2 expect(results).to eq([exact, remote]).or eq([exact, remote_too]) end end