diff --git a/spec/models/manageiq/providers/embedded_ansible/automation_manager/configuration_script_spec.rb b/spec/models/manageiq/providers/embedded_ansible/automation_manager/configuration_script_spec.rb index e690fe3e78f..f243574b760 100644 --- a/spec/models/manageiq/providers/embedded_ansible/automation_manager/configuration_script_spec.rb +++ b/spec/models/manageiq/providers/embedded_ansible/automation_manager/configuration_script_spec.rb @@ -156,18 +156,6 @@ described_class.create_in_provider(manager.id, params) end.to raise_error(RuntimeError, error_msg) end - - # TODO: Determine if we want to have a uniqueness validation to - # replicate this functionality, otherwise delete this case. - # - # context "provider raises on create" do - # it "with a string" do - # expect(AnsibleTowerClient::Connection).to receive(:new).and_return(atc) - # expect(job_templates).to receive(:create!).and_raise(AnsibleTowerClient::Error, "Job template with this Name already exists.") - - # expect { described_class.create_in_provider(manager.id, params) }.to raise_error(AnsibleTowerClient::Error, "Job template with this Name already exists.") - # end - # end end it ".create_in_provider_queue" do