Fix spec. spec/serializers/cluster_application_entity_spec.rb and spec/serializers/cluster_entity_spec.rb

This commit is contained in:
Shinya Maeda 2017-11-08 01:32:12 +09:00
parent 1f43d5632d
commit 02878cd958
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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