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: I2d6be785a3e94355899d381cbdeba048a4f80a0f
This commit is contained in:
Takashi Kajinami 2022-07-15 11:55:54 +09:00
parent b219ee7f09
commit 619f350c56

View File

@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:tempest_config)' do
expect(@tempest_config[:value]).to eq('bar')
end
it 'should not accept a value with whitespace' do
it 'should accept a value with whitespace' do
@tempest_config[:value] = 'b ar'
expect(@tempest_config[:value]).to eq('b ar')
end