summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-08 01:32:12 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-08 01:32:12 +0900
commit02878cd958557128cd9c22b27bd2fb97a843266b (patch)
tree0b8649df1e7e58c104c31324f9a2a6474efa32b5
parent1f43d5632d4ceb2626893df14b857868ae8f7b5f (diff)
downloadgitlab-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.rb2
-rw-r--r--spec/serializers/cluster_entity_spec.rb4
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