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: I75733a1da603e7817a4f14a09fd8693225a7bb4a
This commit is contained in:
parent
b2516674df
commit
580c78b2f4
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:gnocchi_api_uwsgi_config)' do
|
||||
expect(@gnocchi_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
|
||||
@gnocchi_api_uwsgi_config[:value] = 'b ar'
|
||||
expect(@gnocchi_api_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:gnocchi_config)' do
|
||||
expect(@gnocchi_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@gnocchi_config[:value] = 'b ar'
|
||||
expect(@gnocchi_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user