summaryrefslogtreecommitdiff
path: root/spec/models/deployment_spec.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-06-24 13:46:21 +1200
committerThong Kuah <tkuah@gitlab.com>2019-06-24 16:59:22 +1200
commitee18ca2fa590453b42c7cba28c334d1327aa8b33 (patch)
tree8bc2d3bd19b47e33721712825aed8f61d02703bb /spec/models/deployment_spec.rb
parent25adee56f76ec6e0faca1dc4d7fef36e88c19f3d (diff)
downloadgitlab-ce-ee18ca2fa590453b42c7cba28c334d1327aa8b33.tar.gz
Rename method to not clash with #clusterrefactor_deployment_cluster
We will introduce #cluster at a later stage. Also deprecate this method
Diffstat (limited to 'spec/models/deployment_spec.rb')
-rw-r--r--spec/models/deployment_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/deployment_spec.rb b/spec/models/deployment_spec.rb
index 1dceef3fc00..a433878f3bc 100644
--- a/spec/models/deployment_spec.rb
+++ b/spec/models/deployment_spec.rb
@@ -380,12 +380,12 @@ describe Deployment do
end
end
- describe '#cluster' do
+ describe '#deployment_platform_cluster' do
let(:deployment) { create(:deployment) }
let(:project) { deployment.project }
let(:environment) { deployment.environment }
- subject { deployment.cluster }
+ subject { deployment.deployment_platform_cluster }
before do
expect(project).to receive(:deployment_platform)