Skip to content

Commit

Permalink
Merge pull request ManageIQ#239 from agrare/add_ems_pause_resume_specs
Browse files Browse the repository at this point in the history
Add EMS #pause! and #resume! specs
  • Loading branch information
Fryguy authored Sep 30, 2023
2 parents d6d3b33 + a5b93ac commit 1f8f902
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions spec/models/manageiq/providers/autosde/storage_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,19 @@
expect(systems.first.management_ip).to(be_truthy)
end
end


context "#pause!" do
let(:zone) { FactoryBot.create(:zone) }
let(:ems) { FactoryBot.create(:autosde_storage_manager, :zone => zone) }

include_examples "ExtManagementSystem#pause!"
end

context "#resume!" do
let(:zone) { FactoryBot.create(:zone) }
let(:ems) { FactoryBot.create(:autosde_storage_manager, :zone => zone) }

include_examples "ExtManagementSystem#resume!"
end
end

0 comments on commit 1f8f902

Please sign in to comment.