summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-31 23:00:30 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-05-31 23:00:30 +0800
commit61227393dc1bc8240b7e9413a613f7aacdaed2c2 (patch)
tree5bd574822297ca3a17e7432651f44aff208da0fd
parentafb1bf0baf23a6e7b111fb5b305c16c38cf3a99e (diff)
downloadgitlab-ce-rename-builds-controller.tar.gz
Rename the other jobsrename-builds-controller
-rw-r--r--spec/features/projects/jobs_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index 2ed5d9e165a..0eda46649db 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -351,7 +351,7 @@ feature 'Jobs', :feature do
end
end
- context "Build from other project" do
+ context "Job from other project" do
before do
build.run!
visit namespace_project_job_path(project.namespace, project, build)
@@ -362,7 +362,7 @@ feature 'Jobs', :feature do
it { expect(page).to have_http_status(404) }
end
- context "Build that current user is not allowed to retry" do
+ context "Job that current user is not allowed to retry" do
before do
build.run!
build.cancel!
@@ -400,7 +400,7 @@ feature 'Jobs', :feature do
describe 'GET /:project/jobs/:id/raw', :js do
context 'access source' do
- context 'build from project' do
+ context 'job from project' do
before do
Capybara.current_session.driver.headers = { 'X-Sendfile-Type' => 'X-Sendfile' }
build.run!
@@ -458,7 +458,7 @@ feature 'Jobs', :feature do
end
end
- context 'when build has trace in DB' do
+ context 'when job has trace in DB' do
let(:paths) { [] }
it 'sends the right headers' do
@@ -483,7 +483,7 @@ feature 'Jobs', :feature do
end
describe "GET /:project/jobs/:id/trace.json" do
- context "Build from project" 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
@@ -501,7 +501,7 @@ feature 'Jobs', :feature do
end
describe "GET /:project/jobs/:id/status" do
- context "Build from project" do
+ context "Job from project" do
before do
visit status_namespace_project_job_path(project.namespace, project, build)
end
@@ -509,7 +509,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