summaryrefslogtreecommitdiff
path: root/app/serializers/build_details_entity.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-05-06 13:41:52 +0200
committerFilipa Lacerda <filipa@gitlab.com>2019-05-24 10:04:05 +0100
commit1052f64c3cf90694443487f3485d6f9ae26a5ab8 (patch)
tree2f8df036635bfea4ec2389e73d7ce7deca9775b3 /app/serializers/build_details_entity.rb
parentb0360335dcca34b2028b80febfb4a6221dc79967 (diff)
downloadgitlab-ce-1052f64c3cf90694443487f3485d6f9ae26a5ab8.tar.gz
Add specs for Gitaly calls in deployment serialization
Diffstat (limited to 'app/serializers/build_details_entity.rb')
-rw-r--r--app/serializers/build_details_entity.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb
index 61420ce0219..30c3246b05b 100644
--- a/app/serializers/build_details_entity.rb
+++ b/app/serializers/build_details_entity.rb
@@ -13,7 +13,6 @@ class BuildDetailsEntity < JobEntity
expose :deployment_status, if: -> (*) { build.starts_environment? } do
expose :deployment_status, as: :status
-
expose :persisted_environment, as: :environment, with: EnvironmentEntity
end