mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Merge pull request #208 from glennsarti/maint-rubocop
(maint) Fix rubocop violations
This commit is contained in:
commit
d4a50e5e56
13 changed files with 219 additions and 254 deletions
|
|
@ -66,9 +66,9 @@ describe 'Vmpooler::PoolManager::Provider::Base' do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#is_vm_ready?' do
|
||||
describe '#vm_ready?' do
|
||||
it 'should raise error' do
|
||||
expect{subject.is_vm_ready?('vm','pool','timeout')}.to raise_error(/does not implement is_vm_ready?/)
|
||||
expect{subject.vm_ready?('vm','pool','timeout')}.to raise_error(/does not implement vm_ready?/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ describe 'Vmpooler::PoolManager::Provider::VSphere' do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#is_vm_ready?' do
|
||||
describe '#vm_ready?' do
|
||||
it 'should raise error' do
|
||||
expect{subject.is_vm_ready?('vm','pool','timeout')}.to raise_error(/does not implement is_vm_ready?/)
|
||||
expect{subject.vm_ready?('vm','pool','timeout')}.to raise_error(/does not implement vm_ready?/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue