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: Ieec1d030981852e9e17afcea87dd14508243f3f4
This commit is contained in:
parent
c3744a4b3e
commit
cbf0725557
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:designate_api_uwsgi_config)' do
|
|||
expect(@designate_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
|
||||
@designate_api_uwsgi_config[:value] = 'b ar'
|
||||
expect(@designate_api_uwsgi_config[:value]).to eq('b ar')
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:designate_config)' do
|
|||
expect(@designate_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@designate_config[:value] = 'b ar'
|
||||
expect(@designate_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue