Commit 02878cd9 authored by Shinya Maeda's avatar Shinya Maeda

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

Fix spec. spec/serializers/cluster_application_entity_spec.rb and spec/serializers/cluster_entity_spec.rb
parent 1f43d563
...@@ -10,7 +10,7 @@ describe ClusterApplicationEntity do ...@@ -10,7 +10,7 @@ describe ClusterApplicationEntity do
end end
it 'has status' do it 'has status' do
expect(subject[:status]).to eq(:installable) expect(subject[:status]).to eq(:not_installable)
end end
it 'has no status_reason' do it 'has no status_reason' do
......
...@@ -39,12 +39,12 @@ describe ClusterEntity do ...@@ -39,12 +39,12 @@ describe ClusterEntity do
let(:cluster) { create(:cluster) } let(:cluster) { create(:cluster) }
subject { described_class.new(cluster).as_json[:applications]} 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 expect(subject).not_to be_empty
helm = subject[0] helm = subject[0]
expect(helm[:name]).to eq('helm') expect(helm[:name]).to eq('helm')
expect(helm[:status]).to eq(:installable) expect(helm[:status]).to eq(:not_installable)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment