Skip to content

Commit

Permalink
Fix promotable_max and promotable_node_max tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincevrp committed Apr 8, 2024
1 parent 1c84e54 commit 03a1eea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/unit/puppet/provider/cs_clone_pcs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03a1eea

Please sign in to comment.