diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-22 06:28:53 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-22 06:28:53 +0000 |
commit | d103e95513704314a38ab8ae441851524031c4a1 (patch) | |
tree | 0a3d6c7d7b824226351571232fac96ce3ef52ae3 /features | |
parent | f357fc7d2c1f3898b1ce0df7f97665aa8230d05e (diff) | |
parent | 9c096ddf28d63a89ff2844514bde9ab93a8756ae (diff) | |
download | gitlab-ce-d103e95513704314a38ab8ae441851524031c4a1.tar.gz |
Merge branch 'add-view-replaced-file-link' into 'master'
Add view replaced file link for image diffs
See merge request gitlab-org/gitlab-ce!14394
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/commits/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb index 305fff37c41..318e054e978 100644 --- a/features/steps/project/commits/commits.rb +++ b/features/steps/project/commits/commits.rb @@ -139,7 +139,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps end step 'The diff links to both the previous and current image' do - links = page.all('.two-up span div a') + links = page.all('.file-actions a') expect(links[0]['href']).to match %r{blob/#{sample_image_commit.old_blob_id}} expect(links[1]['href']).to match %r{blob/#{sample_image_commit.new_blob_id}} end |