diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-08 01:32:12 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-08 01:32:12 +0900 |
commit | 02878cd958557128cd9c22b27bd2fb97a843266b (patch) | |
tree | 0b8649df1e7e58c104c31324f9a2a6474efa32b5 | |
parent | 1f43d5632d4ceb2626893df14b857868ae8f7b5f (diff) | |
download | gitlab-ce-02878cd958557128cd9c22b27bd2fb97a843266b.tar.gz |
Fix spec. spec/serializers/cluster_application_entity_spec.rb and spec/serializers/cluster_entity_spec.rb
-rw-r--r-- | spec/serializers/cluster_application_entity_spec.rb | 2 | ||||
-rw-r--r-- | spec/serializers/cluster_entity_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/serializers/cluster_application_entity_spec.rb b/spec/serializers/cluster_application_entity_spec.rb index 8a3a081adf8..87c7b2ad36e 100644 --- a/spec/serializers/cluster_application_entity_spec.rb +++ b/spec/serializers/cluster_application_entity_spec.rb @@ -10,7 +10,7 @@ describe ClusterApplicationEntity do end it 'has status' do - expect(subject[:status]).to eq(:installable) + expect(subject[:status]).to eq(:not_installable) end it 'has no status_reason' do diff --git a/spec/serializers/cluster_entity_spec.rb b/spec/serializers/cluster_entity_spec.rb index f50f5999bfc..d6a43fd0f00 100644 --- a/spec/serializers/cluster_entity_spec.rb +++ b/spec/serializers/cluster_entity_spec.rb @@ -39,12 +39,12 @@ describe ClusterEntity do let(:cluster) { create(:cluster) } subject { described_class.new(cluster).as_json[:applications]} - it 'contains helm as installable' do + it 'contains helm as not_installable' do expect(subject).not_to be_empty helm = subject[0] expect(helm[:name]).to eq('helm') - expect(helm[:status]).to eq(:installable) + expect(helm[:status]).to eq(:not_installable) end end end |