Upstream sync
This commit is contained in:
@@ -62,12 +62,12 @@ feature "User managing misc releases" do
|
||||
sign_in current_user
|
||||
end
|
||||
|
||||
scenario "Download All is visible" do
|
||||
scenario "Download is visible" do
|
||||
create(:misc_release_with_contract_template, :native, project: project)
|
||||
|
||||
visit project_misc_releases_path(project)
|
||||
|
||||
expect(page).to have_content download_all_button
|
||||
expect(page).to have_content download_button
|
||||
end
|
||||
|
||||
scenario "Downloading PDF of native misc release is possible" do
|
||||
@@ -165,8 +165,8 @@ feature "User managing misc releases" do
|
||||
|
||||
private
|
||||
|
||||
def download_all_button
|
||||
'Download All'
|
||||
def download_button
|
||||
'Download'
|
||||
end
|
||||
|
||||
def view_release_pdf_link_for(release)
|
||||
|
||||
Reference in New Issue
Block a user