diff --git a/spec/unit/type/magnum_api_uwsgi_config_spec.rb b/spec/unit/type/magnum_api_uwsgi_config_spec.rb index ba71002..2c70867 100644 --- a/spec/unit/type/magnum_api_uwsgi_config_spec.rb +++ b/spec/unit/type/magnum_api_uwsgi_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:magnum_api_uwsgi_config)' do expect(@magnum_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 @magnum_api_uwsgi_config[:value] = 'b ar' expect(@magnum_api_uwsgi_config[:value]).to eq('b ar') end diff --git a/spec/unit/type/magnum_config_spec.rb b/spec/unit/type/magnum_config_spec.rb index 68bd3e3..6646648 100644 --- a/spec/unit/type/magnum_config_spec.rb +++ b/spec/unit/type/magnum_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:magnum_config)' do expect(@magnum_config[:value]).to eq(['bar']) end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @magnum_config[:value] = 'b ar' expect(@magnum_config[:value]).to eq(['b ar']) end