gitlab-org--gitlab-foss/spec/lib/gitlab/diff
Stan Hu c2b7147c2f Fix error 500 when viewing commit and merge request diffs
Due to the refactoring in !16082, `Blob#batch` no longer falls back
to a default `blob_size_limit`. Since `Repository#batch_blobs` was using
a default `nil` value, this would cause issues in the `Blob#find_by_rugged`
method.

This fix here is to be consistent and use a non-nil default value in
`Repository#batch_blobs`.

The problem was masked in development and tests because Gitaly is always
enabled by default for all features.

Closes #41735
2018-01-07 04:49:07 -08:00
..
file_collection Fix error 500 when viewing commit and merge request diffs 2018-01-07 04:49:07 -08:00
formatters Commenting on image diffs 2017-10-07 04:25:17 +00:00
diff_refs_spec.rb Add specs 2017-09-25 16:56:14 +02:00
file_spec.rb Fix error when viewing diffs without blobs 2018-01-04 14:33:12 +00:00
highlight_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
inline_diff_markdown_marker_spec.rb Don't escape html entities when rich == raw line 2017-08-17 19:55:07 +02:00
inline_diff_marker_spec.rb Don't escape html entities when rich == raw line 2017-08-17 19:55:07 +02:00
inline_diff_spec.rb fix #39233 - 500 in merge request 2017-12-07 20:19:37 +01:00
line_mapper_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
parallel_diff_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
parser_spec.rb Fix diff parser so it tolerates to diff special markers in the content 2017-10-15 17:00:36 +03:00
position_spec.rb Fix 500 error for old (somewhat) MRs 2017-10-30 12:30:31 +00:00
position_tracer_spec.rb Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00