mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(maint) Fix rubocop violations
This commit fixes minor rubocopy violations in eleven source files. Minor violations are those that include formatting, single quotes, and recently added classes.
This commit is contained in:
parent
42b7d2d222
commit
06100ddea6
11 changed files with 204 additions and 210 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