diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-25 21:25:57 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-25 21:25:57 +0900 |
commit | 9aaae6d60f7537f55f862f4d61de7a0d3a3b6bc2 (patch) | |
tree | 53c6c73a8e80b82ec23478f95f252d9971026930 | |
parent | 41c64c190e2e2efa7ab91a0daa0598da2d755f05 (diff) | |
download | gitlab-ce-artifact-format-v2.tar.gz |
Fix spec file name - build_runner_presenter_spec.rbartifact-format-v2
-rw-r--r-- | lib/api/runner.rb | 4 | ||||
-rw-r--r-- | spec/presenters/ci/build_runner_presenter_spec.rb (renamed from spec/presenters/ci/builds/runner_presenter_spec.rb) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index dca1b208dad..fd4bb163c77 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -110,7 +110,7 @@ module API if result.build Gitlab::Metrics.add_event(:build_found, project: result.build.project.full_path) - present Ci::Builds::RunnerPresenter.new(result.build), with: Entities::JobRequest::Response + present Ci::BuildRunnerPresenter.new(result.build), with: Entities::JobRequest::Response else Gitlab::Metrics.add_event(:build_not_found) header 'X-GitLab-Last-Update', new_update @@ -282,7 +282,7 @@ module API end if job.update(artifacts_expire_in: expire_in) - present Ci::Builds::RunnerPresenter.new(job), with: Entities::JobRequest::Response + present Ci::BuildRunnerPresenter.new(job), with: Entities::JobRequest::Response else render_validation_error!(job) end diff --git a/spec/presenters/ci/builds/runner_presenter_spec.rb b/spec/presenters/ci/build_runner_presenter_spec.rb index e7019b990dd..e7019b990dd 100644 --- a/spec/presenters/ci/builds/runner_presenter_spec.rb +++ b/spec/presenters/ci/build_runner_presenter_spec.rb |