Skip to content

Commit

Permalink
Merge pull request #827 from agrare/include_shared_ems_pause_resume_s…
Browse files Browse the repository at this point in the history
…pecs

Include shared EMS#pause!,#resume! specs

(cherry picked from commit e2ef699)
  • Loading branch information
Fryguy committed Sep 28, 2023
1 parent cf75de0 commit 00f4f3e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/models/manageiq/providers/amazon/cloud_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@
expect(described_class.description).to eq('Amazon EC2')
end

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

include_examples "ExtManagementSystem#pause!"
end

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

include_examples "ExtManagementSystem#resume!"
end

describe ".params_for_create" do
it "dynamically adjusts to new regions" do
r1_data = {
Expand Down

0 comments on commit 00f4f3e

Please sign in to comment.