Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-10 20:44:41 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-23 11:11:49 +0300
commit38b1ec2cc04e850ff4898615cf9596de0f6235e1 (patch)
tree881a8644f9f89362a450876f69937cc48e0dabf5 /app/controllers/projects/pipelines_controller.rb
parentea08e2c8afa468afecede56836b5ceb5dcd1f63e (diff)
Fix rspec failure
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r--app/controllers/projects/pipelines_controller.rb3
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