diff options
author | Nick Thomas <nick@gitlab.com> | 2019-04-11 17:03:02 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-04-16 17:16:23 +0300 |
commit | 2845e8d9736b82c89ef33a3dd24caa4f9816b0e6 (patch) | |
tree | cf9d105faa0cf2b3b62c99c36973ca4db0d6db92 /spec/features/projects/show/download_buttons_spec.rb | |
parent | 2dbbe7348b4156dea1f5229fd3e5db43ccad8834 (diff) |
Revert "Revert "Merge branch '24704-download-repository-path' into 'master'""
This reverts commit 171818df0a72097aa1a804c8213666b3f66b0966.
Diffstat (limited to 'spec/features/projects/show/download_buttons_spec.rb')
-rw-r--r-- | spec/features/projects/show/download_buttons_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/projects/show/download_buttons_spec.rb b/spec/features/projects/show/download_buttons_spec.rb index 3a2dcc5aa55..fee5f8001b0 100644 --- a/spec/features/projects/show/download_buttons_spec.rb +++ b/spec/features/projects/show/download_buttons_spec.rb @@ -35,11 +35,10 @@ describe 'Projects > Show > Download buttons' do it 'shows download artifacts button' do href = latest_succeeded_project_artifacts_path(project, "#{project.default_branch}/download", job: 'build') - expect(page).to have_link "Download '#{build.name}'", href: href + expect(page).to have_link build.name, href: href end it 'download links have download attribute' do - expect(page).to have_selector('a', text: 'Download') page.all('a', text: 'Download').each do |link| expect(link[:download]).to eq '' end |