summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-28 11:55:10 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-09-12 11:19:06 +0200
commit7c817c40cab4666407b94882d3f408ac9997745b (patch)
tree8200d48e7c32823127e6bc1123d181afa1c0a6e8
parentaecc6600bdbe472d5b8e67d275d049ed384c9a31 (diff)
downloadgitlab-ce-7c817c40cab4666407b94882d3f408ac9997745b.tar.gz
Adapting Test for Jobs
-rw-r--r--spec/features/projects/jobs_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index 3b5c6966287..f26af9f1f0d 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -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)