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: I4fb445a86398abc0f7b060c6d28cf94cbb2d0b3d
This commit is contained in:
parent
ff956c7a5b
commit
84591e2dbf
@ -32,7 +32,7 @@ describe 'Puppet::Type.type(:zaqar_config)' do
|
||||
expect(@zaqar_config[:value]).to eq(['bar'])
|
||||
end
|
||||
|
||||
it 'should not accept a value with whitespace' do
|
||||
it 'should accept a value with whitespace' do
|
||||
@zaqar_config[:value] = 'b ar'
|
||||
expect(@zaqar_config[:value]).to eq(['b ar'])
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user