diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-11 02:44:41 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-23 17:11:49 +0900 |
commit | 38b1ec2cc04e850ff4898615cf9596de0f6235e1 (patch) | |
tree | 881a8644f9f89362a450876f69937cc48e0dabf5 /app/controllers/projects/pipelines_controller.rb | |
parent | ea08e2c8afa468afecede56836b5ceb5dcd1f63e (diff) | |
download | gitlab-ce-38b1ec2cc04e850ff4898615cf9596de0f6235e1.tar.gz |
Fix rspec failure
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r-- | app/controllers/projects/pipelines_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb index 12ab43665f2..43a1abaa662 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -75,8 +75,7 @@ class Projects::PipelinesController < Projects::ApplicationController def status render json: PipelineSerializer .new(project: @project, user: @current_user) - .only_status - .represent(@pipeline) + .represent_status(@pipeline) end def stage |