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: I5778406d66301fb6cdff896c42c25520e4dbccd5
This commit is contained in:
parent
68a4d9a53d
commit
9490e6a21e
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:neutron_api_uwsgi_config)' do
|
||||
expect(@neutron_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
|
||||
@neutron_api_uwsgi_config[:value] = 'b ar'
|
||||
expect(@neutron_api_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -34,7 +34,7 @@ describe 'Puppet::Type.type(:neutron_config)' do
|
||||
expect(@neutron_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@neutron_config[:value] = 'b ar'
|
||||
expect(@neutron_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user