diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-04-01 09:38:31 -0800 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2019-04-02 22:07:16 +0800 |
commit | c0eb5cd7a24544b9dea8ace77e15d79995475b85 (patch) | |
tree | 382b23506c0869ecda4a7ccaac3867f4a8467c2a /spec/features/projects/show | |
parent | 6766a0a144bd07441b4593d25235924a14df0a91 (diff) | |
download | gitlab-ce-c0eb5cd7a24544b9dea8ace77e15d79995475b85.tar.gz |
Make the dropdown match the design
Regenerate locale.pot as well
Diffstat (limited to 'spec/features/projects/show')
-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 |