Fix wrong test description
The value with a white space should be accepted instead of being rejected. This change fixes the wrong test case description and makes sure the description explains what is actually tested. Change-Id: I841df474bd0aa7a84f0b443d87d002c343971ebd
This commit is contained in:
parent
bdf6b66ae1
commit
f3693d3e88
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:ironic_config)' do
|
|||
expect(@ironic_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@ironic_config[:value] = 'b ar'
|
||||
expect(@ironic_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:ironic_inspector_config)' do
|
|||
expect(@ironic_inspector_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@ironic_inspector_config[:value] = 'b ar'
|
||||
expect(@ironic_inspector_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue