Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-07-03 11:33:51 +0300
committerRémy Coutable <remy@rymai.me>2018-07-03 11:50:52 +0300
commit2b78f223123dbbeabafb8b5d07e367a5ebad4567 (patch)
tree1a82428f87b200efa4299963beafa0d9c0550b4e /spec/features/projects
parent48f4ccd31169555d66fed277f30f0001e9b18f4f (diff)
Fix link to job when creating a new issue from a failed job
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/features/projects')
-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)