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: Icc58f5c51b249564ab3cf3e1859c4dabde5857fc
This commit is contained in:
parent
aa9b0aac05
commit
fc7467334e
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:murano_cfapi_config)' do
|
||||
expect(@murano_cfapi_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@murano_cfapi_config[:value] = 'b ar'
|
||||
expect(@murano_cfapi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:murano_cfapi_paste_ini_config)' do
|
||||
expect(@murano_cfapi_paste_ini_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@murano_cfapi_paste_ini_config[:value] = 'b ar'
|
||||
expect(@murano_cfapi_paste_ini_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:murano_config)' do
|
||||
expect(@murano_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@murano_config[:value] = 'b ar'
|
||||
expect(@murano_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:murano_paste_ini_config)' do
|
||||
expect(@murano_paste_ini_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@murano_paste_ini_config[:value] = 'b ar'
|
||||
expect(@murano_paste_ini_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user