Commit 09aec97d authored by Shinya Maeda's avatar Shinya Maeda

Fix spec/serializers/cluster_entity_spec.rb

parent dab3075a
...@@ -29,8 +29,8 @@ describe ClusterEntity do ...@@ -29,8 +29,8 @@ describe ClusterEntity do
context 'when provider type is user' do context 'when provider type is user' do
let(:cluster) { create(:cluster, provider_type: :user) } let(:cluster) { create(:cluster, provider_type: :user) }
it 'has nil' do it 'has corresponded data' do
expect(subject[:status]).to be_nil expect(subject[:status]).to eq(:created)
expect(subject[:status_reason]).to be_nil expect(subject[:status_reason]).to be_nil
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