diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-09-13 07:28:58 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-09-13 07:28:58 +0000 |
commit | 12accbf796ba2de01359a9eb21aabfa6cc3dde6a (patch) | |
tree | 9d2539737954c9463b127a65c7f39cd067c0964b /spec/features | |
parent | b097d065c5e8d2e4115a4ad6361f61cbbac78a9e (diff) | |
parent | d63aebb7ec18617c097f52a4cfc8ffd3300489d1 (diff) | |
download | gitlab-ce-12accbf796ba2de01359a9eb21aabfa6cc3dde6a.tar.gz |
Merge branch '36907-new-issue-from-failed-build-no-longer-links-to-failed-build' into 'master'
Resolve "New issue from failed build no longer links to failed build"
Closes #36907
See merge request !13790
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/jobs_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb index 3b5c6966287..a4ed589f3de 100644 --- a/spec/features/projects/jobs_spec.rb +++ b/spec/features/projects/jobs_spec.rb @@ -164,9 +164,9 @@ 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) - options = { issue: { title: button_title, description: job_path } } + button_title = "Job Failed ##{job.id}" + job_url = project_job_path(project, job) + options = { issue: { title: button_title, description: "Job [##{job.id}](#{job_url}) failed for #{job.sha}:\n" } } href = new_project_issue_path(project, options) |