Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-06 17:06:10 +0300
committerShinya Maeda <shinya@gitlab.com>2017-11-06 17:06:10 +0300
commita99ad59e655d66fda8af7f2b89aced79b8bc1060 (patch)
treec324ee36e56192feba969709807f7e7c329e3fbf /spec/serializers/cluster_serializer_spec.rb
parent377916ed72cf31ee31e463f395993d1ec0dc579b (diff)
Remove 10.3 comments (Tracked by a tech debts issue). Refactor spec factory name. Use ArgumentError
Diffstat (limited to 'spec/serializers/cluster_serializer_spec.rb')
-rw-r--r--spec/serializers/cluster_serializer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/cluster_serializer_spec.rb b/spec/serializers/cluster_serializer_spec.rb
index e5da92a451e..ff7d1789149 100644
--- a/spec/serializers/cluster_serializer_spec.rb
+++ b/spec/serializers/cluster_serializer_spec.rb
@@ -6,7 +6,7 @@ describe ClusterSerializer do
context 'when provider type is gcp' do
let(:cluster) { create(:cluster, provider_type: :gcp, provider_gcp: provider) }
- let(:provider) { create(:provider_gcp, :errored) }
+ let(:provider) { create(:cluster_provider_gcp, :errored) }
it 'serializes only status' do
expect(subject.keys).to contain_exactly(:status, :status_reason)