vmpooler/spec/unit
Glenn Sarti 901ddde7c3 (POOLER-52) Prepare the vSphere Provider for a connection pooler
Previously, all calls to the vSphere API assumed an instance variable called
`@connection`.  This commit prepares the provider for a connection pooler:

- Removes all references to `@connection` where needed and funnels all calls to
  get a vSphere connection through the newly renamed method `get_connection`.
  For the moment, this still uses `@connection` behind the scenes but will make
  it easier in the future to migrate to a connection pooler
- Removes all references and tests for the ensure_connected method as it's no
  longer required
- All methods that explicitly need a connection object will have this as part of
  the method parameters
- The connect_to_vsphere method has been changed so that instead of setting the
  instance level `@connection` object it just returns the newly created connection.
  This can then be easily consumed by a connection pooler later.
2017-03-22 10:23:43 -07:00
..
api (POOLER-73) Restructure tests to unit and integration directories 2017-02-17 13:04:38 -08:00
providers (POOLER-52) Prepare the vSphere Provider for a connection pooler 2017-03-22 10:23:43 -07:00
pool_manager_spec.rb (POOLER-70) Rename the use of vsphere to provider 2017-03-08 17:14:52 -08:00
vsphere_helper_spec.rb (POOLER-73) Add spec tests for vsphere_helper 2017-03-20 17:31:59 -07:00