Skip to content

Commit

Permalink
他のテストも修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 7, 2023
1 parent 4a6b006 commit 30edfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 30edfda

Please sign in to comment.