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: I51abf6af70438b418391146786eb217c148bfecb
This commit is contained in:
Takashi Kajinami
2022-07-15 11:45:10 +09:00
parent f1d7e27866
commit bae793888d
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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