We could mistakenly be picking up matches on user "name" rather than user username due to faker giving a name like "Gale" or "Haley" or "Annalee" which match the search term "ale". Give an explicitly non-matching pattern for the name string to prevent this. Sampling from Faker::Name.name and filtering for case insensitive matching against the search term shows slightly higher than 1% of results will match this "ale" triple. Low enough to go unnoticed for a long time. |
||
|---|---|---|
| .. | ||
| article_spec.rb | ||
| chat_channel_membership_spec.rb | ||
| comment_spec.rb | ||
| listing_spec.rb | ||
| podcast_episode_spec.rb | ||
| reading_list_spec.rb | ||
| tag_spec.rb | ||
| user_spec.rb | ||
| username_spec.rb | ||