mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
(DIO-2700) Vmfloaty should not use the Colorize gem
removing cosmetic use of colorize
This commit is contained in:
parent
1b64ce3b03
commit
6b9b4ea626
5 changed files with 6 additions and 8 deletions
|
|
@ -466,13 +466,13 @@ describe Utils do
|
|||
subject
|
||||
end
|
||||
|
||||
it 'prints in red when destroyed' do
|
||||
it 'prints DESTROYED and hostname when destroyed' do
|
||||
fallback = { 'vmpooler_fallback' => 'vmpooler' }
|
||||
service.config.merge! fallback
|
||||
response_body_vmpooler[fqdn_hostname]['state'] = 'destroyed'
|
||||
default_output_second_line_red = " - #{fqdn} (destroyed, #{template}, 7.67/48 hours, user: bob, role: agent)".red
|
||||
default_output_second_line = " - DESTROYED #{fqdn}"
|
||||
expect($stdout).to receive(:puts).with(default_output_first_line)
|
||||
expect($stdout).to receive(:puts).with(default_output_second_line_red)
|
||||
expect($stdout).to receive(:puts).with(default_output_second_line)
|
||||
|
||||
subject
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue