diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /spec/requests/api/discussions_spec.rb | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'spec/requests/api/discussions_spec.rb')
-rw-r--r-- | spec/requests/api/discussions_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/requests/api/discussions_spec.rb b/spec/requests/api/discussions_spec.rb index bdfc1589c9e..258bd26c05a 100644 --- a/spec/requests/api/discussions_spec.rb +++ b/spec/requests/api/discussions_spec.rb @@ -68,18 +68,11 @@ RSpec.describe API::Discussions do mr_commit = '0b4bc9a49b562e85de7cc9e834518ea6828729b9' parent_commit = 'ae73cb07c9eeaf35924a10f713b364d32b2dd34f' file = "files/ruby/feature.rb" - line_range = { - "start_line_code" => Gitlab::Git.diff_line_code(file, 1, 1), - "end_line_code" => Gitlab::Git.diff_line_code(file, 1, 1), - "start_line_type" => "text", - "end_line_type" => "text" - } position = build( :text_diff_position, :added, file: file, new_line: 1, - line_range: line_range, base_sha: parent_commit, head_sha: mr_commit, start_sha: parent_commit |