diff options
author | Rémy Coutable <remy@rymai.me> | 2018-07-03 11:33:51 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-03 11:50:52 +0300 |
commit | 2b78f223123dbbeabafb8b5d07e367a5ebad4567 (patch) | |
tree | 1a82428f87b200efa4299963beafa0d9c0550b4e /spec/features/projects | |
parent | 48f4ccd31169555d66fed277f30f0001e9b18f4f (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.rb | 2 |
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) |