gitlab-org--gitlab-foss/spec/lib/gitlab/diff
Stan Hu 0f61bb2dc5
Fix Error 500 when creating a merge request that contains an image that was deleted and added
Steps to reproduce:

1. Start with a repo with an image
2. Add a commit to delete the image
3. Add another commit to replace the image with another image

In a diff comparison, we really just compare about what the image was before the diff, not
the direct parent of the last commit. This MR fixes that.

Closes #3893, gitlab-org/gitlab-ee#678

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-14 15:57:01 +01:00
..
file_spec.rb Fix Error 500 when creating a merge request that contains an image that was deleted and added 2016-11-14 15:57:01 +01:00
highlight_spec.rb
inline_diff_marker_spec.rb
inline_diff_spec.rb
line_mapper_spec.rb
parallel_diff_spec.rb
parser_spec.rb
position_spec.rb
position_tracer_spec.rb