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: Ibcd5596808085ecea19b42f953c01a252bf4f67c
This commit is contained in:
parent
aa83e0b86f
commit
c94a41a7fa
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:octavia_api_uwsgi_config)' do
|
||||
expect(@octavia_api_uwsgi_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@octavia_api_uwsgi_config[:value] = 'b ar'
|
||||
expect(@octavia_api_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:octavia_config)' do
|
||||
expect(@octavia_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@octavia_config[:value] = 'b ar'
|
||||
expect(@octavia_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
@ -32,7 +32,7 @@ describe 'Puppet::Type.type(:octavia_ovn_provider_config)' do
|
||||
expect(@octavia_ovn_provider_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@octavia_ovn_provider_config[:value] = 'b ar'
|
||||
expect(@octavia_ovn_provider_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user