diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb
index f141cd6c3be07d201260f53a14301e2dadbdc922..caa3d335765cc8e5681168f97a7b542d82096f36 100644
--- a/app/controllers/projects/builds_controller.rb
+++ b/app/controllers/projects/builds_controller.rb
@@ -76,7 +76,7 @@ class Projects::BuildsController < Projects::ApplicationController
   def status
     render json: BuildSerializer
       .new(project: @project, user: @current_user)
-      .with_status
+      .only_status
       .represent(@build)
   end
 
diff --git a/app/controllers/projects/merge_requests_controller.rb b/app/controllers/projects/merge_requests_controller.rb
index 5087abedf4023d73f4b36a847269984bd412ca9e..c873d06de5aecef35d91d0ce789498533286b6dd 100644
--- a/app/controllers/projects/merge_requests_controller.rb
+++ b/app/controllers/projects/merge_requests_controller.rb
@@ -476,7 +476,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
   def status
     render json: PipelineSerializer
       .new(project: @project, user: @current_user)
-      .with_status
+      .only_status
       .represent(@merge_request.head_pipeline)
   end
 
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb
index 976827040acfe42c22690b834667c67691db7e91..12ab43665f2e5f8e756c2b5bc69901e8a2ad6329 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -75,7 +75,7 @@ class Projects::PipelinesController < Projects::ApplicationController
   def status
     render json: PipelineSerializer
       .new(project: @project, user: @current_user)
-      .with_status
+      .only_status
       .represent(@pipeline)
   end
 
diff --git a/app/serializers/build_serializer.rb b/app/serializers/build_serializer.rb
index b1739caaf5f505375f63ebb54d23ff4fcb56e868..e0096dc7b4ad865e70dce1b8eed05024b18afde1 100644
--- a/app/serializers/build_serializer.rb
+++ b/app/serializers/build_serializer.rb
@@ -1,7 +1,7 @@
 class BuildSerializer < BaseSerializer
   entity BuildEntity
 
-  def with_status
+  def only_status
     tap { @status_only = { only: [{ details: [:status] }] } }
   end
 
diff --git a/app/serializers/pipeline_serializer.rb b/app/serializers/pipeline_serializer.rb
index 6b6e4a8f0f0e8f3c85b0c18248049484495b2796..c667fc840b2f37069cc449a964b1d96dd903d31a 100644
--- a/app/serializers/pipeline_serializer.rb
+++ b/app/serializers/pipeline_serializer.rb
@@ -11,7 +11,7 @@ class PipelineSerializer < BaseSerializer
     @paginator.present?
   end
 
-  def with_status
+  def only_status
     tap { @status_only = { only: [{ details: [:status] }] } }
   end
 
diff --git a/spec/serializers/build_serializer_spec.rb b/spec/serializers/build_serializer_spec.rb
index ef75a2941c2e1a501e660762e4384bb1e83b8317..e6437538328d83afb94ebd61f59a0595abe403e2 100644
--- a/spec/serializers/build_serializer_spec.rb
+++ b/spec/serializers/build_serializer_spec.rb
@@ -13,7 +13,7 @@ describe BuildSerializer do
     context 'when used with status' do
       let(:serializer) do
         described_class.new(user: user)
-          .with_status
+          .only_status
       end
       let(:resource) { create(:ci_build) }
 
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb
index 3bf4a667853448a95d1cbc128c63fd67852bccd7..0e043e980ac25dd5940a20b408dff3798b783739 100644
--- a/spec/serializers/pipeline_serializer_spec.rb
+++ b/spec/serializers/pipeline_serializer_spec.rb
@@ -97,7 +97,7 @@ describe PipelineSerializer do
     context 'when used with status' do
       let(:serializer) do
         described_class.new(user: user)
-          .with_status
+          .only_status
       end
       let(:resource) { create(:ci_empty_pipeline) }