diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-19 14:59:05 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-19 14:59:05 +0800 |
commit | 876acc7e0d654ebc89df3c596cc504334a37f7d8 (patch) | |
tree | 6f8bb8725e05442fbe4e56e7c4c6b3c1cff85290 /spec | |
parent | fb3077e67b527f92a917e0f8b6f2745a322bce9a (diff) | |
download | gitlab-ce-876acc7e0d654ebc89df3c596cc504334a37f7d8.tar.gz |
Separate artifacts from builds, reusing artifacts_action_path
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/jobs_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb index bd1bf64247f..984d9bdb58c 100644 --- a/spec/features/projects/jobs_spec.rb +++ b/spec/features/projects/jobs_spec.rb @@ -482,8 +482,8 @@ feature 'Jobs', :feature do end end - describe "GET /:project/builds/:id/trace.json" do - context "Build from project" do + describe "GET /:project/jobs/:id/trace.json" do + context "Job from project" do before do visit trace_namespace_project_job_path(project.namespace, project, build, format: :json) end @@ -491,7 +491,7 @@ feature 'Jobs', :feature do it { expect(page.status_code).to eq(200) } end - context "Build from other project" do + context "Job from other project" do before do visit trace_namespace_project_job_path(project.namespace, project, build2, format: :json) end @@ -514,8 +514,8 @@ feature 'Jobs', :feature do end end - describe "GET /:project/builds/:id/status" do - context "Build from project" do + describe "GET /:project/jobs/:id/status" do + context "Job from project" do before do visit status_namespace_project_job_path(project.namespace, project, build) end @@ -523,7 +523,7 @@ feature 'Jobs', :feature do it { expect(page.status_code).to eq(200) } end - context "Build from other project" do + context "Job from other project" do before do visit status_namespace_project_job_path(project.namespace, project, build2) end |