diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-06 17:06:10 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-06 17:06:10 +0300 |
commit | a99ad59e655d66fda8af7f2b89aced79b8bc1060 (patch) | |
tree | c324ee36e56192feba969709807f7e7c329e3fbf /spec/serializers/cluster_entity_spec.rb | |
parent | 377916ed72cf31ee31e463f395993d1ec0dc579b (diff) |
Remove 10.3 comments (Tracked by a tech debts issue). Refactor spec factory name. Use ArgumentError
Diffstat (limited to 'spec/serializers/cluster_entity_spec.rb')
-rw-r--r-- | spec/serializers/cluster_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/cluster_entity_spec.rb b/spec/serializers/cluster_entity_spec.rb index 7b132a1b84d..72f02131211 100644 --- a/spec/serializers/cluster_entity_spec.rb +++ b/spec/serializers/cluster_entity_spec.rb @@ -8,7 +8,7 @@ describe ClusterEntity do let(:cluster) { create(:cluster, provider_type: :gcp, provider_gcp: provider) } context 'when status is creating' do - let(:provider) { create(:provider_gcp, :creating) } + let(:provider) { create(:cluster_provider_gcp, :creating) } it 'has corresponded data' do expect(subject[:status]).to eq(:creating) @@ -17,7 +17,7 @@ describe ClusterEntity do end context 'when status is errored' do - let(:provider) { create(:provider_gcp, :errored) } + let(:provider) { create(:cluster_provider_gcp, :errored) } it 'has corresponded data' do expect(subject[:status]).to eq(:errored) |