diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 09:34:07 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 10:10:57 +0100 |
commit | f9364929bacf9ed68e32bb50758e24715d404069 (patch) | |
tree | f77872bd9da21dced7ae1fd39564ef7602dfab15 /spec/serializers | |
parent | 8638cf66d9212143749a85b4429b52fde2169026 (diff) | |
download | gitlab-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.rb | 4 |
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) |