Adapting Test for Jobs

This commit is contained in:
Tim Zallmann 2017-08-28 11:55:10 +02:00
parent aecc6600bd
commit 7c817c40ca

View file

@ -164,8 +164,8 @@ feature 'Jobs' do
end
it 'links to issues/new with the title and description filled in' do
button_title = "Build Failed ##{job.id}"
job_path = project_job_path(project, job)
button_title = "Job Failed ##{job.id}"
job_path = project_job_url(project, job)
options = { issue: { title: button_title, description: job_path } }
href = new_project_issue_path(project, options)