mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
(maint) Define :config in token tests
Miscellaneous whitespace cleanup.
This commit is contained in:
parent
b1cdc4fbe4
commit
e4aa311834
2 changed files with 1 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ describe Vmpooler::API::V1 do
|
|||
describe '/token' do
|
||||
let(:prefix) { '/api/v1' }
|
||||
let(:current_time) { Time.now }
|
||||
let(:config) { { } }
|
||||
|
||||
before do
|
||||
app.settings.set :config, config
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ describe Vmpooler::API::V1 do
|
|||
end
|
||||
|
||||
describe 'PUT /vm/:hostname' do
|
||||
|
||||
it 'allows tags to be set' do
|
||||
create_vm('testhost')
|
||||
put "#{prefix}/vm/testhost", '{"tags":{"tested_by":"rspec"}}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue