Fix spec/serializers/cluster_entity_spec.rb

This commit is contained in:
Shinya Maeda 2017-11-07 17:02:50 +09:00
parent dab3075a36
commit 09aec97d14
1 changed files with 2 additions and 2 deletions

View File

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