Fix: Accountのテストがたまに落ちる問題(Mastodon本家の問題?)
This commit is contained in:
parent
46582b97a7
commit
b7f0b94c00
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ RSpec.describe Account do
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue