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: I4fb445a86398abc0f7b060c6d28cf94cbb2d0b3d
This commit is contained in:
Takashi Kajinami 2022-07-15 11:57:19 +09:00
parent ff956c7a5b
commit 84591e2dbf
1 changed files with 1 additions and 1 deletions

View File

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