From 03a1eea4e2bb288729f80d35d64206ad3c765b0f Mon Sep 17 00:00:00 2001 From: Vincevrp Date: Mon, 8 Apr 2024 14:21:58 +0200 Subject: [PATCH] Fix promotable_max and promotable_node_max tests --- spec/unit/puppet/provider/cs_clone_pcs_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/unit/puppet/provider/cs_clone_pcs_spec.rb b/spec/unit/puppet/provider/cs_clone_pcs_spec.rb index c6bfbd8c..f4782389 100644 --- a/spec/unit/puppet/provider/cs_clone_pcs_spec.rb +++ b/spec/unit/puppet/provider/cs_clone_pcs_spec.rb @@ -186,14 +186,14 @@ end it 'sets max promoted' do - instance.resource[:promotable_max] = 3 - expect_commands(%r{promotable-max=3}) + instance.resource[:promoted_max] = 3 + expect_commands(%r{promoted-max=3}) instance.flush end it 'sets max node promotable' do - instance.resource[:promotable_node_max] = 3 - expect_commands(%r{promotable-node-max=3}) + instance.resource[:promoted_node_max] = 3 + expect_commands(%r{promoted-node-max=3}) instance.flush end end