diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 17:02:28 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 17:02:28 +0100 |
commit | 2802b5bb52b6ba28e6eeb1813f3fd3a79d2c03c4 (patch) | |
tree | 57bb23f3ec8f808209059cf1b4791b5cefeb20f9 /app/serializers | |
parent | b893a858808f1e2aefca4e3f665d633d31fa5937 (diff) | |
download | gitlab-ce-2802b5bb52b6ba28e6eeb1813f3fd3a79d2c03c4.tar.gz |
Add ClusterApplicationEntity tests
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/cluster_application_entity.rb (renamed from app/serializers/cluster_app_entity.rb) | 2 | ||||
-rw-r--r-- | app/serializers/cluster_entity.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/cluster_app_entity.rb b/app/serializers/cluster_application_entity.rb index 7da2d4921a2..3f9a275ad08 100644 --- a/app/serializers/cluster_app_entity.rb +++ b/app/serializers/cluster_application_entity.rb @@ -1,4 +1,4 @@ -class ClusterAppEntity < Grape::Entity +class ClusterApplicationEntity < Grape::Entity expose :name expose :status_name, as: :status expose :status_reason diff --git a/app/serializers/cluster_entity.rb b/app/serializers/cluster_entity.rb index e775c68eb6b..7e5b0997878 100644 --- a/app/serializers/cluster_entity.rb +++ b/app/serializers/cluster_entity.rb @@ -3,5 +3,5 @@ class ClusterEntity < Grape::Entity expose :status_name, as: :status expose :status_reason - expose :applications, using: ClusterAppEntity + expose :applications, using: ClusterApplicationEntity end |