他のテストも修正
This commit is contained in:
parent
7cd6252841
commit
583f5fe906
1 changed files with 1 additions and 1 deletions
|
@ -845,7 +845,7 @@ RSpec.describe Account do
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue