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: I0c1968104619ef7b0252d8c6bb881ac04ef64d8e
This commit is contained in:
Takashi Kajinami 2022-07-15 11:47:48 +09:00
parent acb2f11094
commit a0b31ca3f5

View File

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