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 e81c911 commit d3de764
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 d3de764

Please sign in to comment.