diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-30 09:09:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-30 09:09:09 +0300 |
commit | 8698900da3194414303687b225c826ec99b88420 (patch) | |
tree | 3f40ef490315961a8c4c1497fa9ba69d773494c2 /spec/models/clusters | |
parent | f80c3dfdfca4bd0c966cf78449dc5d8e529de4ed (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/clusters')
-rw-r--r-- | spec/models/clusters/cluster_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/clusters/cluster_spec.rb b/spec/models/clusters/cluster_spec.rb index 99932dc27d1..73df283d996 100644 --- a/spec/models/clusters/cluster_spec.rb +++ b/spec/models/clusters/cluster_spec.rb @@ -983,7 +983,7 @@ RSpec.describe Clusters::Cluster, :use_clean_rails_memory_store_caching, end describe '#make_cleanup_errored!' do - non_errored_states = Clusters::Cluster.state_machines[:cleanup_status].states.keys - [:cleanup_errored] + non_errored_states = described_class.state_machines[:cleanup_status].states.keys - [:cleanup_errored] non_errored_states.each do |state| it "transitions cleanup_status from #{state} to cleanup_errored" do |