gitlab-ce/spec/lib/gitlab/diff
Francisco Javier López 5a3e6fdff9
Fixing image lfs bug and also displaying text lfs
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.

It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were.
2018-12-27 16:51:07 +01:00
..
file_collection Avoid 500's when serializing legacy diff notes 2018-12-04 13:13:22 -02:00
formatters
diff_refs_spec.rb
file_spec.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
highlight_cache_spec.rb Cache diff highlighting upon Merge Request creation (refactors diff caching) 2018-09-07 10:07:18 -03:00
highlight_spec.rb [master] Stored XSS in Gitlab Merge Request from imported repository 2018-10-01 16:44:30 +00:00
inline_diff_markdown_marker_spec.rb
inline_diff_marker_spec.rb Eliminate duplicated words 2018-11-22 01:01:23 +09:00
inline_diff_spec.rb fix #39233 - 500 in merge request 2017-12-07 20:19:37 +01:00
line_mapper_spec.rb
line_spec.rb Include rich_text in diff cache keys 2018-08-28 15:28:47 +01:00
lines_unfolder_spec.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
parallel_diff_spec.rb
parser_spec.rb
position_spec.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
position_tracer_spec.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00