Merge pull request #97 from puppetlabs/types-docs

(DIO-991) Add service command
This commit is contained in:
mattkirby 2020-09-17 08:58:24 -07:00 committed by GitHub
commit 81c6e48528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 93 additions and 88 deletions

View file

@ -77,9 +77,17 @@ describe Utils do
expect(Utils.get_service_object).to be Pooler
end
it 'uses abs when told explicitly' do
expect(Utils.get_service_object('abs')).to be ABS
end
it 'uses nspooler when told explicitly' do
expect(Utils.get_service_object('nspooler')).to be NonstandardPooler
end
it 'uses vmpooler when told explicitly' do
expect(Utils.get_service_object('vmpooler')).to be Pooler
end
end
describe '#get_service_config' do