vmpooler/spec
Glenn Sarti a9fc1bb8aa (POOLER-73) Update test helpers
This commit adds the following test helpers:
- MockFindFolder
  Returns an mock result object from calling `Vmpooler::VsphereHelper.find_folder(foldername)`
- Use MockRedis instead of using method stubs
- MockLogger
  Creates an object which looks like the VMPooler::Logger object but just
  ignores all messages.  This stops the proliferation of allow(logger).to ....
  expectations in tests
- create_completed_vm
  Creates the required redis information for a completed VM
- create_discovered_vm
  Creates the required redis information for a newly discovered VM
- snapshot_revert_vm
  Creates the required redis information to revert a snapshot for a VM
- disk_task_vm
   Creates the required redis information to add a disk addition task to a VM
2017-02-17 15:51:02 -08:00
..
integration (POOLER-73) Restructure tests to unit and integration directories 2017-02-17 13:04:38 -08:00
unit (POOLER-73) Update test helpers 2017-02-17 15:51:02 -08:00
helpers.rb (POOLER-73) Update test helpers 2017-02-17 15:51:02 -08:00
spec_helper.rb Merge CI.next into Master (#161) 2016-07-25 10:43:32 -05:00