diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 862bc71..964e3ba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: PGPASSWORD: smartvm CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up system run: bin/before_install - name: Set up Ruby diff --git a/spec/models/manageiq/providers/cisco_intersight/physical_infra_manager_spec.rb b/spec/models/manageiq/providers/cisco_intersight/physical_infra_manager_spec.rb index cb43e71..2df8510 100644 --- a/spec/models/manageiq/providers/cisco_intersight/physical_infra_manager_spec.rb +++ b/spec/models/manageiq/providers/cisco_intersight/physical_infra_manager_spec.rb @@ -22,6 +22,20 @@ end end + context "#pause!" do + let(:zone) { FactoryBot.create(:zone) } + let(:ems) { FactoryBot.create(:ems_cisco_intersight_physical_infra, :zone => zone) } + + include_examples "ExtManagementSystem#pause!" + end + + context "#resume!" do + let(:zone) { FactoryBot.create(:zone) } + let(:ems) { FactoryBot.create(:ems_cisco_intersight_physical_infra, :zone => zone) } + + include_examples "ExtManagementSystem#resume!" + end + context "#connect" do it "aborts on missing credentials" do ems = FactoryBot.create(:ems_cisco_intersight_physical_infra)