summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-07-03 10:39:55 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-07-03 10:39:55 +0000
commitbdb64ac0a1396a7624adaf0670bb1bf4ad105b56 (patch)
tree91b56163362fa29a5a3be1189d7c403c237b5a30 /spec
parentd285356e94a45bfd9bb2e7ca8b4c07562d44fe76 (diff)
parent2b78f223123dbbeabafb8b5d07e367a5ebad4567 (diff)
downloadgitlab-ce-bdb64ac0a1396a7624adaf0670bb1bf4ad105b56.tar.gz
Merge branch '36907-fix-new-issue-link-from-failed-job' into 'master'
Resolve "New issue from failed build no longer links to failed build" Closes #36907 See merge request gitlab-org/gitlab-ce!20328
Diffstat (limited to 'spec')
-rw-r--r--spec/features/projects/jobs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index d2aaf60e72c..d06abdd999b 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -165,7 +165,7 @@ feature 'Jobs', :clean_gitlab_redis_shared_state do
it 'links to issues/new with the title and description filled in' do
button_title = "Job Failed ##{job.id}"
- job_url = project_job_path(project, job)
+ job_url = project_job_url(project, job, host: page.server.host, port: page.server.port)
options = { issue: { title: button_title, description: "Job [##{job.id}](#{job_url}) failed for #{job.sha}:\n" } }
href = new_project_issue_path(project, options)