mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Merge pull request #97 from puppetlabs/types-docs
(DIO-991) Add service command
This commit is contained in:
commit
81c6e48528
5 changed files with 93 additions and 88 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue