mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(QENG-1906) Add spec tests for Janitor
Add spec tests to verify Janitor deletes stale vms correctly. This required a small refactor of Janitor to move the logic out of the for loop.
This commit is contained in:
parent
fd90756b83
commit
d0275f5fba
3 changed files with 89 additions and 12 deletions
3
spec/spec_helper.rb
Normal file
3
spec/spec_helper.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
require 'rspec'
|
||||
require 'vmpooler'
|
||||
require 'rbvmomi'
|
||||
Loading…
Add table
Add a link
Reference in a new issue