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: I5df420f3785d92cba9aa6a5e9b67641adc232315
This commit is contained in:
parent
e004e46273
commit
68c875beb1
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:swift_account_uwsgi_config)' do
|
|||
expect(@swift_account_uwsgi_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@swift_account_uwsgi_config[:value] = 'b ar'
|
||||
expect(@swift_account_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:swift_config)' do
|
|||
expect(@swift_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@swift_config[:value] = 'b ar'
|
||||
expect(@swift_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:swift_container_uwsgi_config)' do
|
|||
expect(@swift_container_uwsgi_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@swift_container_uwsgi_config[:value] = 'b ar'
|
||||
expect(@swift_container_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:swift_proxy_uwsgi_config)' do
|
|||
expect(@swift_proxy_uwsgi_config[:value]).to eq('bar')
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@swift_proxy_uwsgi_config[:value] = 'b ar'
|
||||
expect(@swift_proxy_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue