diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-09-18 16:07:48 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-09-18 16:07:48 -0500 |
commit | 1b0b19939b8d5b37ae283451fc9977d8f85730ed (patch) | |
tree | 0d4b8bd89cf7e5705a713d74f538628b5b9d7f05 | |
parent | 95c699ec6d30d6b6b961760e7b6e239bdcbb6cba (diff) | |
download | gitlab-ce-1b0b19939b8d5b37ae283451fc9977d8f85730ed.tar.gz |
Fix spinach test with new view file button link
-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 |