Initial commit migrating from VMPooler proper

This copies in all needed files from the main VMPooler repo. Version
1.3.0 of VMPooler was used as the basis for this code.
This commit is contained in:
Gene Liverman 2021-11-29 15:14:42 -05:00
commit a08cba099f
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6
19 changed files with 11422 additions and 0 deletions

19
spec/spec_helper.rb Normal file
View file

@ -0,0 +1,19 @@
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
end
require 'helpers'
require 'rbvmomi_helper'
require 'rbvmomi'
require 'rspec'
require 'vmpooler'
require 'redis'
require 'vmpooler/metrics'
def project_root_dir
File.dirname(File.dirname(__FILE__))
end
def fixtures_dir
File.join(project_root_dir, 'spec', 'fixtures')
end