mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-03-27 17:17:42 -04:00
Previously, it was not able to mock objects to impersonate various RBVMOMI objects. This commit changes the case statement to use `base.is_a?` which can be mocked and allow mocked objects to mimic real objects. |
||
|---|---|---|
| .. | ||
| api | ||
| providers | ||
| public | ||
| views | ||
| api.rb | ||
| dashboard.rb | ||
| dummy_statsd.rb | ||
| graphite.rb | ||
| logger.rb | ||
| pool_manager.rb | ||
| providers.rb | ||
| statsd.rb | ||
| vsphere_helper.rb | ||