Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-07 19:32:12 +0300
committerShinya Maeda <shinya@gitlab.com>2017-11-07 19:32:12 +0300
commit02878cd958557128cd9c22b27bd2fb97a843266b (patch)
tree0b8649df1e7e58c104c31324f9a2a6474efa32b5 /spec/serializers
parent1f43d5632d4ceb2626893df14b857868ae8f7b5f (diff)
Fix spec. spec/serializers/cluster_application_entity_spec.rb and spec/serializers/cluster_entity_spec.rb
Diffstat (limited to 'spec/serializers')
-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