gitlab-org--gitlab-foss/spec/models/concerns
Sean McGivern 382421a9be Fix truncated_diff_lines for legacy notes without a line
It appears that some legacy diff notes on GitLab.com have invalid line codes,
which means truncated_diff_lines won't work. This is just a band-aid solution,
as neither the diff nor the discussion will display correctly for these notes,
but they won't cause a 500 error.
2018-01-30 15:17:44 +00:00
..
access_requestable_spec.rb
avatarable_spec.rb
awardable_spec.rb
blocks_json_serialization_spec.rb
cache_markdown_field_spec.rb
case_sensitivity_spec.rb
deployment_platform_spec.rb
discussion_on_diff_spec.rb Fix truncated_diff_lines for legacy notes without a line 2018-01-30 15:17:44 +00:00
each_batch_spec.rb
editable_spec.rb
expirable_spec.rb
faster_cache_keys_spec.rb
feature_gate_spec.rb
group_descendant_spec.rb
has_status_spec.rb
has_variable_spec.rb
ignorable_column_spec.rb
issuable_spec.rb
loaded_in_group_list_spec.rb
manual_inverse_association_spec.rb
mentionable_spec.rb
milestoneish_spec.rb
noteable_spec.rb
participable_spec.rb
presentable_spec.rb
project_features_compatibility_spec.rb
reactive_caching_spec.rb
relative_positioning_spec.rb
resolvable_discussion_spec.rb
resolvable_note_spec.rb
routable_spec.rb
sha_attribute_spec.rb
spammable_spec.rb
strip_attribute_spec.rb
subscribable_spec.rb
token_authenticatable_spec.rb
triggerable_hooks_spec.rb
uniquify_spec.rb