Change flaky AccountSearchService test (#19650)
parent
1dca08b76f
commit
9387beb3b3
|
@ -45,7 +45,6 @@ describe AccountSearchService, type: :service do
|
||||||
|
|
||||||
results = subject.call('e@example.com', nil, limit: 2)
|
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])
|
expect(results).to eq([exact, remote]).or eq([exact, remote_too])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue