Skip to content

Commit

Permalink
Merge pull request #100 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 759a5da + 7ada310 commit a21ec2f
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a21ec2f

Please sign in to comment.