• Paul Slaughter's avatar
    Fix draft image comments showing in MR overview · ac398f7e
    Paul Slaughter authored
    - When draft top-level comments were added we
      only looked at `line_code` to see if the note was
      associated with a file. This overlooked images.
    - The fix was to look at `file_path`
    - We also add a feature spec for this and a
      factory helper
    ac398f7e
batch_comments_spec.rb 8.52 KB