summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-09-20 09:39:12 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-09-20 09:39:12 -0500
commit9c096ddf28d63a89ff2844514bde9ab93a8756ae (patch)
tree749069b8452f79a5404c71bebcb8ea0942fd7c34 /features
parent727f51b8ef0af2b78087b4ac894ee728bfbabd1f (diff)
downloadgitlab-ce-9c096ddf28d63a89ff2844514bde9ab93a8756ae.tar.gz
Add view replaced file link for image diffsadd-view-replaced-file-link
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/commits/commits.rb2
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