Skip to content
Snippets Groups Projects

Fix spec/features/snippets/notes_on_personal_snippets_spec.rb

Merged Toon Claes requested to merge tc-fix-snippets-notes-spec into master

What does this MR do?

Fallback to default pattern when note does not belong to project

In commit 020295ff a regex was added to quickly determine if mentionables might be referenced. But this didn't take into account the note might not belong to a project. So when it doesn't belong to a project, assume the default issue tracker is used, and use DEFAULT_PATTERN to check if there are mentionables.

What are the relevant issue numbers?

Fixes gitlab-org/gitlab-ce#31993

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading