diff options
author | Luke Bennett <lbennett@gitlab.com> | 2017-12-12 04:51:30 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2017-12-12 04:51:30 +0300 |
commit | 1f3c75033a9a2902aef3bfa49cefcadd92d3dacb (patch) | |
tree | 457430bd4af9d71856eeb38c6df62b6747d7f70d | |
parent | 2a181d68c810e89ff5d2e49999775d8b58adb394 (diff) |
backport migrate_gcp_clusters_to_new_clusters_architectures_spec changes to cebackport-migrate_gcp_clusters_to_new_clusters_architectures_spec-changes-to-ce
-rw-r--r-- | spec/migrations/migrate_gcp_clusters_to_new_clusters_architectures_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/migrations/migrate_gcp_clusters_to_new_clusters_architectures_spec.rb b/spec/migrations/migrate_gcp_clusters_to_new_clusters_architectures_spec.rb index 05f281fffff..2dcd343961b 100644 --- a/spec/migrations/migrate_gcp_clusters_to_new_clusters_architectures_spec.rb +++ b/spec/migrations/migrate_gcp_clusters_to_new_clusters_architectures_spec.rb @@ -133,8 +133,7 @@ describe MigrateGcpClustersToNewClustersArchitectures, :migration do expect(cluster.provider_type).to eq('gcp') expect(cluster.platform_type).to eq('kubernetes') - expect(cluster.project).to eq(project) - expect(project.clusters).to include(cluster) + expect(cluster.project_ids).to include(project.id) expect(cluster.provider_gcp.cluster).to eq(cluster) expect(cluster.provider_gcp.status).to eq(status) |