From 76e4ad05ae930676e5c1ac637bb275ce19e392f8 Mon Sep 17 00:00:00 2001 From: KMY Date: Sat, 7 Oct 2023 14:09:02 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Account=E3=81=AE=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=81=8C=E3=81=9F=E3=81=BE=E3=81=AB=E8=90=BD=E3=81=A1?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=EF=BC=88Mastodon=E6=9C=AC=E5=AE=B6?= =?UTF-8?q?=E3=81=AE=E5=95=8F=E9=A1=8C=EF=BC=9F=EF=BC=89?= 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 fc30b0916779c6..dd1f63ce750927 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -854,7 +854,7 @@ match = Fabricate(:account, username: 'pattern_and_suffix') account = Fabricate(:account, username: 'prefix_and_pattern') - expect(described_class.matches_username('pattern')).to eq [match, account] + expect(described_class.matches_username('pattern')).to contain_exactly(match, account) end end