Merge pull request #281 from mattkirby/pooler_109

(POOLER-109) Allow API to run independently
This commit is contained in:
mattkirby 2018-07-16 16:41:37 -07:00 committed by GitHub
commit 95d9c83479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 229 additions and 149 deletions

View file

@ -22,12 +22,10 @@ describe Vmpooler::API do
end
context '/dashboard/' do
let(:config) { {
config: {'site_name' => 'test pooler'}
} }
ENV['SITE_NAME'] = 'test pooler'
ENV['VMPOOLER_CONFIG'] = 'thing'
before do
$config = config
get '/dashboard/'
end