Skip to content

Commit

Permalink
Fix: Accountのテストがたまに落ちる問題(Mastodon本家の問題?)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 7, 2023
1 parent 7c09b83 commit 76e4ad0
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 @@ -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

Expand Down

0 comments on commit 76e4ad0

Please sign in to comment.