File tree Expand file tree Collapse file tree
app/models/manageiq/providers/ibm_power_hmc/infra_manager
spec/models/manageiq/providers/ibm_power_hmc/infra_manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ class ManageIQ::Providers::IbmPowerHmc::InfraManager::Vm < ManageIQ::Providers::
1010 _ ( "Host is not HMC-managed" ) unless host_hmc_managed
1111 end
1212
13+ supports_not :suspend
14+
1315 supports :rename do
1416 _ ( "Host is not HMC-managed" ) unless host_hmc_managed
1517 end
Original file line number Diff line number Diff line change 3838 expect ( vm . vm_powered_on? ) . to be true
3939 expect ( vm . supports? ( :start ) ) . to be false
4040 expect ( vm . supports? ( :stop ) ) . to ( be true ) , "unsupported reason: #{ vm . unsupported_reason ( :stop ) } "
41- expect ( vm . supports? ( :suspend ) ) . to ( be true ) , "unsupported reason: #{ vm . unsupported_reason ( :suspend ) } "
41+ expect ( vm . supports? ( :suspend ) ) . to be false
4242 vm . raw_power_state = "not activated"
4343 expect ( vm . vm_powered_on? ) . to be false
4444 expect ( vm . supports? ( :start ) ) . to ( be true ) , "unsupported reason: #{ vm . unsupported_reason ( :start ) } "
You can’t perform that action at this time.
0 commit comments