diff --git a/spec/models/manageiq/providers/awx/automation_manager_spec.rb b/spec/models/manageiq/providers/awx/automation_manager_spec.rb index 2698fc3..ae0b400 100644 --- a/spec/models/manageiq/providers/awx/automation_manager_spec.rb +++ b/spec/models/manageiq/providers/awx/automation_manager_spec.rb @@ -9,6 +9,20 @@ end end + context "#pause!" do + let(:zone) { FactoryBot.create(:zone) } + let(:ems) { FactoryBot.create(:automation_manager_awx, :zone => zone) } + + include_examples "ExtManagementSystem#pause!" + end + + context "#resume!" do + let(:zone) { FactoryBot.create(:zone) } + let(:ems) { FactoryBot.create(:automation_manager_awx, :zone => zone) } + + include_examples "ExtManagementSystem#resume!" + end + describe ".create_from_params" do it "delegates endpoints, zone, name to provider" do params = {:zone => FactoryBot.create(:zone), :name => "AWX"}