From 583f5fe906d39920c0f336f334f12966c808e4a2 Mon Sep 17 00:00:00 2001 From: KMY Date: Sat, 7 Oct 2023 15:31:35 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BB=96=E3=81=AE=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=82=82=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/models/account_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index dd1f63ce750927..c13d57c7614cc1 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -845,7 +845,7 @@ match = Fabricate(:account, display_name: 'pattern and suffix') account = Fabricate(:account, display_name: 'prefix and pattern') - expect(described_class.matches_display_name('pattern')).to eq [match, account] + expect(described_class.matches_display_name('pattern')).to contain_exactly(match, account) end end