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: I78750bdfd66785f822a37d724cd4f50eca8e0bab
This commit is contained in:
Takashi Kajinami 2022-07-11 23:26:04 +09:00
parent 3f9fa0dc6f
commit 962afdd17d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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