summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-07 17:02:50 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-07 17:02:50 +0900
commit09aec97d14738bc156835f50609ec8638b435ca3 (patch)
tree2a16dcfc7c01e3b64c5fba964637b9349c0e6254 /spec/serializers
parentdab3075a369c5966c6774d0c257833aebe9c447d (diff)
downloadgitlab-ce-09aec97d14738bc156835f50609ec8638b435ca3.tar.gz
Fix spec/serializers/cluster_entity_spec.rb
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/cluster_entity_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/cluster_entity_spec.rb b/spec/serializers/cluster_entity_spec.rb
index 0a3cd2a65e1..dc24e80d3c9 100644
--- a/spec/serializers/cluster_entity_spec.rb
+++ b/spec/serializers/cluster_entity_spec.rb
@@ -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