summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 09:34:07 +0100
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 10:10:57 +0100
commitf9364929bacf9ed68e32bb50758e24715d404069 (patch)
treef77872bd9da21dced7ae1fd39564ef7602dfab15 /spec/serializers
parent8638cf66d9212143749a85b4429b52fde2169026 (diff)
downloadgitlab-ce-f9364929bacf9ed68e32bb50758e24715d404069.tar.gz
Rename application_helm factory to cluster_application_helm
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/cluster_application_entity_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/cluster_application_entity_spec.rb b/spec/serializers/cluster_application_entity_spec.rb
index 61cebcefa28..8a3a081adf8 100644
--- a/spec/serializers/cluster_application_entity_spec.rb
+++ b/spec/serializers/cluster_application_entity_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe ClusterApplicationEntity do
describe '#as_json' do
- let(:application) { build(:applications_helm) }
+ let(:application) { build(:cluster_applications_helm) }
subject { described_class.new(application).as_json }
it 'has name' do
@@ -18,7 +18,7 @@ describe ClusterApplicationEntity do
end
context 'when application is errored' do
- let(:application) { build(:applications_helm, :errored) }
+ let(:application) { build(:cluster_applications_helm, :errored) }
it 'has corresponded data' do
expect(subject[:status]).to eq(:errored)