Merge "Fix wrong test description"
This commit is contained in:
commit
50ede5b587
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:cinder_api_uwsgi_config)' do
|
|||||||
expect(@cinder_api_uwsgi_config[:value]).to eq('bar')
|
expect(@cinder_api_uwsgi_config[:value]).to eq('bar')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should not accept a value with whitespace' do
|
it 'should accept a value with whitespace' do
|
||||||
@cinder_api_uwsgi_config[:value] = 'b ar'
|
@cinder_api_uwsgi_config[:value] = 'b ar'
|
||||||
expect(@cinder_api_uwsgi_config[:value]).to eq('b ar')
|
expect(@cinder_api_uwsgi_config[:value]).to eq('b ar')
|
||||||
end
|
end
|
||||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:cinder_config)' do
|
|||||||
expect(@cinder_config[:value]).to eq(['bar'])
|
expect(@cinder_config[:value]).to eq(['bar'])
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should not accept a value with whitespace' do
|
it 'should accept a value with whitespace' do
|
||||||
@cinder_config[:value] = 'b ar'
|
@cinder_config[:value] = 'b ar'
|
||||||
expect(@cinder_config[:value]).to eq(['b ar'])
|
expect(@cinder_config[:value]).to eq(['b ar'])
|
||||||
end
|
end
|
||||||
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:cinder_rootwrap_config)' do
|
|||||||
expect(@cinder_rootwrap_config[:value]).to eq('bar')
|
expect(@cinder_rootwrap_config[:value]).to eq('bar')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should not accept a value with whitespace' do
|
it 'should accept a value with whitespace' do
|
||||||
@cinder_rootwrap_config[:value] = 'b ar'
|
@cinder_rootwrap_config[:value] = 'b ar'
|
||||||
expect(@cinder_rootwrap_config[:value]).to eq('b ar')
|
expect(@cinder_rootwrap_config[:value]).to eq('b ar')
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user