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: I98236e30f7f5f267dd1476adb73bdb6ecaeaf521
This commit is contained in:
Takashi Kajinami
2022-07-15 11:56:21 +09:00
parent 8b7be73088
commit f2896b839f
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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