diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-07-10 23:48:44 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-13 00:04:07 -0500 |
commit | 545a85dc6487d80c3bc64df85f43765937ca3c86 (patch) | |
tree | 7615783afab0d4b382a59118abf013675fb7dc88 /features/steps | |
parent | 92772f85c1c68858b962b4934f3c5ee2e0849c14 (diff) | |
download | gitlab-ce-better-parallel-diff.tar.gz |
Actually render old and new sections of parallel diff next to each otherbetter-parallel-diff
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/shared/diff_note.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb index 56ef44ec969..2f20d8bd6da 100644 --- a/features/steps/shared/diff_note.rb +++ b/features/steps/shared/diff_note.rb @@ -32,8 +32,8 @@ module SharedDiffNote end step 'I leave a diff comment in a parallel view on the left side like "Old comment"' do - click_parallel_diff_line(sample_commit.line_code, 'old') - page.within("#{diff_file_selector} form[data-line-code='#{sample_commit.line_code}']") do + click_parallel_diff_line(sample_commit.del_line_code, 'old') + page.within("#{diff_file_selector} form[data-line-code='#{sample_commit.del_line_code}']") do fill_in "note[note]", with: "Old comment" find(".js-comment-button").trigger("click") end |